#151F38
Closest named color: Oxford Blue (#1B263B). oklch(24.4% 0.05 266.3), rgb(21, 31, 56).
Aa
White text reads best on this color (16.34:1).
About this color
#151F38 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.050 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.026 away. White text reads best on it, at 16.34:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | muted (0.050) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.28:1 |
| White text | 16.34:1 |
Values
| HEX | #151F38 |
| RGB | rgb(21, 31, 56) |
| HSL | hsl(223, 45%, 15%) |
| OKLCH | oklch(24.4% 0.05 266.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 #151F38 | 16.34:1 | AAA | Lc -105.7 | Preferred for body text |
| Black text on #151F38 | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #151F38 text on white | 16.34:1 | AAA | Lc 103.2 | Preferred for body text |
| #151F38 text on black | 1.28:1 | Fails | Lc 0.0 | 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 950.
-
Step 50
50
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E4EAF6
oklch(93.6% 0.017 264.5)
-
Step 200
200
#CFD9F0
oklch(88.5% 0.033 266.9)
-
Step 300
300
#AFC0E8
oklch(80.8% 0.06 267)
-
Step 400
400
#859FDC
oklch(70.6% 0.095 266.3)
-
Step 500
500
#6786D3
oklch(63% 0.122 266.4)
-
Step 600
600
#4F6FC0
oklch(55.7% 0.131 266)
-
Step 700
700
#405CA6
oklch(49.1% 0.123 266.4)
-
Step 800
800
#354C86
oklch(42.8% 0.1 266)
-
Step 900
900
#2E3F6B
oklch(37.6% 0.079 266.7)
-
Step 950
950 (this color)
#151F38
oklch(24.4% 0.05 266.3)
#151F38 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) | #152139 | 0.007 |
| Deuteranopia (no green cones) | #111E37 | 0.007 |
| Tritanopia (no blue cones) | #042428 | 0.045 |
| Achromatopsia (no color) | #202020 | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #151F38
#151F38
oklch(24.4% 0.05 266.3)
- #2B1E00
#2B1E00
oklch(24.4% 0.05 85.4)
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 #151F38, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.026
- Dark #1B2431 ΔE 0.027
- Rich Black #0D1B2A ΔE 0.032
- Jet #212529 ΔE 0.045
- Navy Blue #001146 ΔE 0.062
- Space Cadet #2B2D42 ΔE 0.063
- Gunmetal #293241 ΔE 0.074
- Dark Indigo #1F0954 ΔE 0.077
Use #151F38 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.