#38457F
Closest named color: Cobalt (#1E488F). oklch(40.9% 0.098 271.9), rgb(56, 69, 127).
Aa
White text reads best on this color (9.02:1).
About this color
#38457F is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.098 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.037 away. White text reads best on it, at 9.02:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.098) |
| Temperature | cool |
| Nearest name | Cobalt (#1E488F) |
| Black text | 2.32:1 |
| White text | 9.02:1 |
Values
| HEX | #38457F |
| RGB | rgb(56, 69, 127) |
| HSL | hsl(229, 39%, 36%) |
| OKLCH | oklch(40.9% 0.098 271.9) |
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 #38457F | 9.02:1 | AAA | Lc -95.0 | Preferred for body text |
| Black text on #38457F | 2.32:1 | Fails | Lc 13.4 | Not readable |
| #38457F text on white | 9.02:1 | AAA | Lc 90.6 | Preferred for body text |
| #38457F text on black | 2.32:1 | Fails | Lc -11.7 | 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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E6E9F5
oklch(93.5% 0.016 274.8)
-
Step 200
200
#D1D8EF
oklch(88.4% 0.033 272.2)
-
Step 300
300
#B3BFE7
oklch(80.9% 0.058 272)
-
Step 400
400
#8C9DDA
oklch(70.6% 0.092 271.9)
-
Step 500
500
#7184D0
oklch(63.1% 0.117 272)
-
Step 600
600
#5A6CBD
oklch(55.5% 0.127 272.2)
-
Step 700
700
#4A5AA3
oklch(49.1% 0.118 272.1)
-
Step 800
800 (this color)
#38457F
oklch(40.9% 0.098 271.9)
-
Step 900
900
#333E6A
oklch(37.6% 0.077 271.7)
-
Step 950
950
#1E253E
oklch(27.1% 0.048 271.1)
#38457F 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) | #2C4C81 | 0.023 |
| Deuteranopia (no green cones) | #24467E | 0.024 |
| Tritanopia (no blue cones) | #14525C | 0.087 |
| Achromatopsia (no color) | #494949 | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #38457F
#38457F
oklch(40.9% 0.098 271.9)
- #5B4800
#5B4800
oklch(41% 0.084 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 #38457F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cobalt #1E488F ΔE 0.037
- Dark Slate Blue #483D8B ΔE 0.038
- Light Navy #155084 ΔE 0.042
- Dusk Blue #26538D ΔE 0.044
- Blueberry #464196 ΔE 0.046
- Twilight Blue #0A437A ΔE 0.046
- Twilight #4E518B ΔE 0.052
- Deep Sea Blue #015482 ΔE 0.054
Use #38457F 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.