#40455B
Closest named color: Dark Grey Blue (#29465B). oklch(39.5% 0.038 274.6), rgb(64, 69, 91).
Aa
White text reads best on this color (9.45:1).
About this color
#40455B is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.038 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.031 away. White text reads best on it, at 9.45:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | muted (0.038) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.22:1 |
| White text | 9.45:1 |
Values
| HEX | #40455B |
| RGB | rgb(64, 69, 91) |
| HSL | hsl(229, 17%, 30%) |
| OKLCH | oklch(39.5% 0.038 274.6) |
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 #40455B | 9.45:1 | AAA | Lc -96.1 | Preferred for body text |
| Black text on #40455B | 2.22:1 | Fails | Lc 12.1 | Not readable |
| #40455B text on white | 9.45:1 | AAA | Lc 91.9 | Preferred for body text |
| #40455B text on black | 2.22:1 | Fails | Lc -10.5 | 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
#E8E9EF
oklch(93.5% 0.008 278.6)
-
Step 200
200
#D6D9E4
oklch(88.6% 0.015 273.8)
-
Step 300
300
#BBC0D3
oklch(81% 0.027 274)
-
Step 400
400
#989FBE
oklch(70.7% 0.046 275.2)
-
Step 500
500
#7F87AD
oklch(63.1% 0.058 275.4)
-
Step 600
600
#687199
oklch(55.7% 0.063 274.4)
-
Step 700
700
#565E82
oklch(49% 0.059 274.4)
-
Step 800
800
#474D6A
oklch(42.7% 0.049 275.1)
-
Step 900
900 (this color)
#40455B
oklch(39.5% 0.038 274.6)
-
Step 950
950
#232632
oklch(27.1% 0.023 273.8)
#40455B 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) | #3F475C | 0.006 |
| Deuteranopia (no green cones) | #3D455A | 0.005 |
| Tritanopia (no blue cones) | #39494C | 0.034 |
| Achromatopsia (no color) | #464646 | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40455B
#40455B
oklch(39.5% 0.038 274.6)
- #4D462F
#4D462F
oklch(39.5% 0.037 93.2)
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 #40455B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.031
- Charcoal #264653 ΔE 0.039
- Charcoal Grey #3C4142 ΔE 0.043
- Dark Slate Gray #2F4F4F ΔE 0.049
- Onyx #343A40 ΔE 0.057
- Dark Blue Grey #1F3B4D ΔE 0.063
- Dark Teal #014D4E ΔE 0.069
- YInMn Blue #415A77 ΔE 0.070
Use #40455B 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.