#151F31
Closest named color: Dark (#1B2431). oklch(23.9% 0.038 261.7), rgb(21, 31, 49).
Aa
White text reads best on this color (16.50:1).
About this color
#151F31 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.038 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.021 away. White text reads best on it, at 16.50:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | muted (0.038) |
| Temperature | cool |
| Nearest name | Dark (#1B2431) |
| Black text | 1.27:1 |
| White text | 16.50:1 |
Values
| HEX | #151F31 |
| RGB | rgb(21, 31, 49) |
| HSL | hsl(219, 40%, 14%) |
| OKLCH | oklch(23.9% 0.038 261.7) |
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 #151F31 | 16.50:1 | AAA | Lc -105.9 | Preferred for body text |
| Black text on #151F31 | 1.27:1 | Fails | Lc 0.0 | Not readable |
| #151F31 text on white | 16.50:1 | AAA | Lc 103.4 | Preferred for body text |
| #151F31 text on black | 1.27: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
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E5EAF3
oklch(93.6% 0.013 262.4)
-
Step 200
200
#D0DAEA
oklch(88.6% 0.025 259.8)
-
Step 300
300
#B1C1DE
oklch(80.8% 0.045 262.4)
-
Step 400
400
#88A1CE
oklch(70.6% 0.072 262)
-
Step 500
500
#6B8AC1
oklch(63.2% 0.091 261.5)
-
Step 600
600
#5273AD
oklch(55.6% 0.098 261.1)
-
Step 700
700
#436095
oklch(49.1% 0.092 261.7)
-
Step 800
800
#374F79
oklch(42.8% 0.076 261.1)
-
Step 900
900
#304161
oklch(37.6% 0.059 262.4)
-
Step 950
950 (this color)
#151F31
oklch(23.9% 0.038 261.7)
#151F31 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) | #182032 | 0.006 |
| Deuteranopia (no green cones) | #151E31 | 0.004 |
| Tritanopia (no blue cones) | #092325 | 0.035 |
| Achromatopsia (no color) | #1F1F1F | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #151F31
#151F31
oklch(23.9% 0.038 261.7)
- #281D08
#281D08
oklch(23.9% 0.038 81.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 #151F31, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.021
- Rich Black #0D1B2A ΔE 0.023
- Oxford Blue #1B263B ΔE 0.030
- Jet #212529 ΔE 0.037
- Space Cadet #2B2D42 ΔE 0.067
- Navy Blue #001146 ΔE 0.071
- Rich Navy #001219 ΔE 0.074
- Gunmetal #293241 ΔE 0.077
Use #151F31 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.