#40369D
Closest named color: Blueberry (#464196). oklch(41% 0.161 281), rgb(64, 54, 157).
Aa
White text reads best on this color (9.40:1).
About this color
#40369D is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.161 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.032 away. White text reads best on it, at 9.40:1.
| Hue family | Purples |
| Lightness | dark (41%) |
| Chroma | vivid (0.161) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.23:1 |
| White text | 9.40:1 |
Values
| HEX | #40369D |
| RGB | rgb(64, 54, 157) |
| HSL | hsl(246, 49%, 41%) |
| OKLCH | oklch(41% 0.161 281) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #40369D | 9.40:1 | AAA | Lc -95.6 | Preferred for body text |
| Black text on #40369D | 2.23:1 | Fails | Lc 12.7 | Not readable |
| #40369D text on white | 9.40:1 | AAA | Lc 91.2 | Preferred for body text |
| #40369D text on black | 2.23:1 | Fails | Lc -11.1 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E6E8FC
oklch(93.5% 0.027 281.3)
-
Step 200
200
#D2D6FC
oklch(88.5% 0.052 280.5)
-
Step 300
300
#B5BAFC
oklch(80.9% 0.093 280.7)
-
Step 400
400
#9193FB
oklch(70.6% 0.15 281)
-
Step 500
500
#7974F9
oklch(63.1% 0.193 281)
-
Step 600
600
#6458E7
oklch(55.5% 0.208 281)
-
Step 700
700
#5447C9
oklch(49.1% 0.193 281.1)
-
Step 800
800 (this color)
#40369D
oklch(41% 0.161 281)
-
Step 900
900
#393481
oklch(37.6% 0.126 281.4)
-
Step 950
950
#211F4C
oklch(26.9% 0.081 281.5)
#40369D with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #004AA0 | 0.066 |
| Deuteranopia (no green cones) | #00429B | 0.061 |
| Tritanopia (no blue cones) | #045064 | 0.138 |
| Achromatopsia (no color) | #464646 | 0.161 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40369D
#40369D
oklch(41% 0.161 281)
- #554B00
#554B00
oklch(41% 0.085 100.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #40369D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.032
- Dark Slate Blue #483D8B ΔE 0.038
- Sapphire #2138AB ΔE 0.046
- Indigo Blue #3A18B1 ΔE 0.059
- Imperial Purple #480CA8 ΔE 0.061
- Cobalt #1E488F ΔE 0.062
- Chrysanthemum #560BAD ΔE 0.069
- Rebecca Purple #663399 ΔE 0.069
Use #40369D in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.