#40479A
Closest named color: Blueberry (#464196). oklch(43.9% 0.134 275.8), rgb(64, 71, 154).
Aa
White text reads best on this color (8.12:1).
About this color
#40479A is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.134 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.017 away. White text reads best on it, at 8.12:1.
| Hue family | Blues |
| Lightness | dark (44%) |
| Chroma | moderately saturated (0.134) |
| Temperature | cool |
| Nearest name | Blueberry (#464196) |
| Black text | 2.58:1 |
| White text | 8.12:1 |
Values
| HEX | #40479A |
| RGB | rgb(64, 71, 154) |
| HSL | hsl(235, 41%, 43%) |
| OKLCH | oklch(43.9% 0.134 275.8) |
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 #40479A | 8.12:1 | AAA | Lc -92.5 | Preferred for body text |
| Black text on #40479A | 2.58:1 | Fails | Lc 16.2 | Dividers and decoration only |
| #40479A text on white | 8.12:1 | AAA | Lc 87.8 | Fine for body text |
| #40479A text on black | 2.58:1 | Fails | Lc -14.3 | 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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E5E9F9
oklch(93.6% 0.022 274.7)
-
Step 200
200
#D1D7F6
oklch(88.4% 0.043 276.8)
-
Step 300
300
#B2BDF4
oklch(80.9% 0.079 275.7)
-
Step 400
400
#8B99EE
oklch(70.7% 0.125 275.6)
-
Step 500
500
#717DE8
oklch(63.1% 0.16 276)
-
Step 600
600
#5B64D6
oklch(55.7% 0.173 275.9)
-
Step 700
700
#4B52BA
oklch(49.2% 0.161 275.8)
-
Step 800
800 (this color)
#40479A
oklch(43.9% 0.134 275.8)
-
Step 900
900
#343A78
oklch(37.8% 0.104 276)
-
Step 950
950
#1E2246
oklch(26.9% 0.066 276.2)
#40479A 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) | #16539D | 0.047 |
| Deuteranopia (no green cones) | #004C98 | 0.052 |
| Tritanopia (no blue cones) | #065A69 | 0.118 |
| Achromatopsia (no color) | #505050 | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40479A
#40479A
oklch(43.9% 0.134 275.8)
- #615100
#615100
oklch(43.8% 0.09 95.9)
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 #40479A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Blueberry #464196 ΔE 0.017
- Dark Slate Blue #483D8B ΔE 0.035
- Cobalt #1E488F ΔE 0.043
- Twilight #4E518B ΔE 0.046
- Dusk Blue #26538D ΔE 0.049
- Denim Blue #3B5B92 ΔE 0.059
- Light Navy #155084 ΔE 0.063
- Sapphire #2138AB ΔE 0.064
Use #40479A 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.