#38405B
Closest named color: Dark Grey Blue (#29465B). oklch(37.6% 0.048 271.3), rgb(56, 64, 91).
Aa
White text reads best on this color (10.23:1).
About this color
#38405B is a dark, muted blue. In OKLCH its lightness is 38%, its chroma 0.048 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.026 away. White text reads best on it, at 10.23:1.
| Hue family | Blues |
| Lightness | dark (38%) |
| Chroma | muted (0.048) |
| Temperature | cool |
| Nearest name | Dark Grey Blue (#29465B) |
| Black text | 2.05:1 |
| White text | 10.23:1 |
Values
| HEX | #38405B |
| RGB | rgb(56, 64, 91) |
| HSL | hsl(226, 24%, 29%) |
| OKLCH | oklch(37.6% 0.048 271.3) |
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 #38405B | 10.23:1 | AAA | Lc -97.8 | Preferred for body text |
| Black text on #38405B | 2.05:1 | Fails | Lc 10.2 | Not readable |
| #38405B text on white | 10.23:1 | AAA | Lc 93.7 | Preferred for body text |
| #38405B text on black | 2.05:1 | Fails | Lc -8.8 | 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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E7EAF1
oklch(93.7% 0.01 267.4)
-
Step 200
200
#D4D9E7
oklch(88.6% 0.02 270.2)
-
Step 300
300
#B8C0D8
oklch(80.9% 0.035 271)
-
Step 400
400
#939FC5
oklch(70.6% 0.057 271.2)
-
Step 500
500
#7987B6
oklch(63% 0.073 271.4)
-
Step 600
600
#6271A2
oklch(55.7% 0.079 270.7)
-
Step 700
700
#515E8B
oklch(49.1% 0.074 271.2)
-
Step 800
800
#434D71
oklch(42.7% 0.061 271.7)
-
Step 900
900 (this color)
#38405B
oklch(37.6% 0.048 271.3)
-
Step 950
950
#212635
oklch(27.1% 0.029 270.1)
#38405B 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) | #37425C | 0.006 |
| Deuteranopia (no green cones) | #34405A | 0.006 |
| Tritanopia (no blue cones) | #2E4549 | 0.043 |
| Achromatopsia (no color) | #414141 | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #38405B
#38405B
oklch(37.6% 0.048 271.3)
- #4B4123
#4B4123
oklch(37.8% 0.048 91.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 #38405B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Grey Blue #29465B ΔE 0.026
- Charcoal #264653 ΔE 0.035
- Charcoal Grey #3C4142 ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.046
- Onyx #343A40 ΔE 0.047
- Prussian Blue #1D3557 ΔE 0.054
- Dark Slate Gray #2F4F4F ΔE 0.059
- Midnight Green #073B4C ΔE 0.063
Use #38405B 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.