#40485A
Closest named color: Dark Grey Blue (#29465B). oklch(40.2% 0.032 266.2), rgb(64, 72, 90).
Aa
White text reads best on this color (9.15:1).
About this color
#40485A is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.032 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.033 away. White text reads best on it, at 9.15:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | muted (0.032) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.29:1 |
| White text | 9.15:1 |
Values
| HEX | #40485A |
| RGB | rgb(64, 72, 90) |
| HSL | hsl(222, 17%, 30%) |
| OKLCH | oklch(40.2% 0.032 266.2) |
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 #40485A | 9.15:1 | AAA | Lc -95.5 | Preferred for body text |
| Black text on #40485A | 2.29:1 | Fails | Lc 12.9 | Not readable |
| #40485A text on white | 9.15:1 | AAA | Lc 91.1 | Preferred for body text |
| #40485A text on black | 2.29:1 | Fails | Lc -11.2 | 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 900.
-
Step 50
50
#F4F5F8
oklch(97% 0.004 271.4)
-
Step 100
100
#E8EAEF
oklch(93.7% 0.007 268.5)
-
Step 200
200
#D5D9E2
oklch(88.5% 0.013 266.7)
-
Step 300
300
#B9C1D1
oklch(81% 0.024 264.4)
-
Step 400
400
#95A1B9
oklch(70.8% 0.038 264.3)
-
Step 500
500
#7C89A8
oklch(63.1% 0.049 267.1)
-
Step 600
600
#657393
oklch(55.6% 0.053 266.3)
-
Step 700
700
#53607E
oklch(49% 0.051 266.3)
-
Step 800
800
#444F66
oklch(42.7% 0.041 264.8)
-
Step 900
900 (this color)
#40485A
oklch(40.2% 0.032 266.2)
-
Step 950
950
#222631
oklch(27% 0.021 269.3)
#40485A 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) | #42495B | 0.005 |
| Deuteranopia (no green cones) | #40475A | 0.003 |
| Tritanopia (no blue cones) | #394C4E | 0.030 |
| Achromatopsia (no color) | #484848 | 0.032 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40485A
#40485A
oklch(40.2% 0.032 266.2)
- #504734
#504734
oklch(40.1% 0.032 85.5)
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 #40485A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.033
- Charcoal #264653 ΔE 0.039
- Dark Slate Gray #2F4F4F ΔE 0.041
- Charcoal Grey #3C4142 ΔE 0.042
- Onyx #343A40 ΔE 0.060
- Deep Teal #00555A ΔE 0.063
- YInMn Blue #415A77 ΔE 0.064
- Dark Teal #014D4E ΔE 0.065
Use #40485A 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.