# #40285b color: Queen’s Domain

#40285b is rgb(64, 40, 91) in RGB and oklch(33.232% 0.08971 303.63) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/40285b

## Formats

| Format | Value |
| --- | --- |
| HEX | #40285b |
| RGB | rgb(64, 40, 91) |
| HSL | hsl(268.24, 38.93%, 25.69%) |
| HSB / HSV | hsv(268.24 56.04% 35.69%) |
| HWB | hwb(268.24 15.69% 64.31%) |
| CMYK | cmyk(30% 56% 0% 64%) |
| Lab | lab(21.19 20.36 -26.78) |
| LCH | lch(21.19 33.64 307.25) |
| OKLab | oklab(33.232% 0.04969 -0.0747) |
| OKLCH | oklch(33.232% 0.08971 303.63) |
| Display P3 | color(display-p3 0.23729 0.16096 0.34523) |
| Rec. 2020 | color(rec2020 0.1694 0.10685 0.28437) |
| Adobe RGB | color(a98-rgb 0.23839 0.17344 0.35287) |
| ProPhoto RGB | color(prophoto-rgb 0.18689 0.13312 0.2687) |
| Linear sRGB | color(srgb-linear 0.05127 0.02122 0.10462) |
| XYZ D65 | color(xyz-d65 0.04761 0.03363 0.10296) |
| XYZ D50 | color(xyz-d50 0.0455 0.03296 0.07748) |
| SwiftUI | Color(red: 0.251, green: 0.157, blue: 0.357) |
| UIKit | UIColor(red: 0.251, green: 0.157, blue: 0.357, alpha: 1) |
| Flutter / Compose | Color(0xFF40285B) |
| Android XML | #40285B |

## Facts

- Closest name: Queen’s Domain
- Hue family: Purple, soft dark purple
- Closest Tailwind class: mauve-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.56:1
- Contrast with black: 1.67:1

## Tints

#40285b, #513c6b, #624f7b, #74648b, #87789b, #9a8eab, #ada3bc, #c1bacc, #d5d0dd, #eae7ee

## Shades

#40285b, #36214e, #2d1b41, #241535, #1b0f29, #13091e, #0b0413, #050209, #010103, #000000

## Tones

#40285b, #3f2a57, #3e2c54, #3d2d50, #3c2f4d, #3b3049, #3a3145, #393342, #38343e, #37353a

## Harmonies

- Complementary: #40285b, #2d3d00
- Split: #40285b, #453400, #00431f
- Analogous: #40285b, #283063, #502149
- Triadic: #40285b, #552900, #00423a
- Tetradic: #40285b, #5a1e31, #2d3d00, #00423a
- Square: #40285b, #5b2014, #2d3d00, #003f4e
- Monochromatic: #40285b, #0d001f, #220839, #61487e, #836ba3

## Questions about #40285b

### What color is #40285b?

#40285b is soft dark purple. The closest named color is Queen’s Domain. In RGB it is rgb(64, 40, 91), in HSL hsl(268.24, 38.93%, 25.69%) and in OKLCH oklch(33.232% 0.08971 303.63).

### What colors go well with #40285b?

The complementary color of #40285b is #2d3d00. For a calmer combination use the analogous colors #283063 and #502149. The triadic partners are #552900 and #00423a.

### Is white or black text more readable on #40285b?

White text reads better on #40285b: white gives a contrast ratio of 12.56:1 and black gives 1.67:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #40285b a warm or cool color?

#40285b is a neutral color. In OKLCH its hue is 304 degrees, its lightness 33.2% and its chroma 0.09.
