#151B42
Closest named color: Oxford Blue (#1B263B). oklch(24.2% 0.074 273.1), rgb(21, 27, 66).
Aa
White text reads best on this color (16.57:1).
About this color
#151B42 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.074 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.043 away. White text reads best on it, at 16.57:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | moderately saturated (0.074) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.26:1 |
| White text | 16.57:1 |
Values
| HEX | #151B42 |
| RGB | rgb(21, 27, 66) |
| HSL | hsl(232, 52%, 17%) |
| OKLCH | oklch(24.2% 0.074 273.1) |
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 #151B42 | 16.57:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #151B42 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #151B42 text on white | 16.57:1 | AAA | Lc 103.4 | Preferred for body text |
| #151B42 text on black | 1.26: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
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CED8FA
oklch(88.5% 0.048 272.4)
-
Step 300
300
#AEBDFA
oklch(80.9% 0.088 273.6)
-
Step 400
400
#8499F7
oklch(70.7% 0.14 272.8)
-
Step 500
500
#687CF3
oklch(63% 0.178 273.1)
-
Step 600
600
#5262E2
oklch(55.6% 0.193 273)
-
Step 700
700
#4350C4
oklch(49.1% 0.18 273)
-
Step 800
800
#37429F
oklch(42.7% 0.15 273.2)
-
Step 900
900
#2F397E
oklch(37.7% 0.116 273.3)
-
Step 950
950 (this color)
#151B42
oklch(24.2% 0.074 273.1)
#151B42 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) | #052143 | 0.024 |
| Deuteranopia (no green cones) | #001D41 | 0.025 |
| Tritanopia (no blue cones) | #00242B | 0.064 |
| Achromatopsia (no color) | #1F1F1F | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #151B42
#151B42
oklch(24.2% 0.074 273.1)
- #281F00
#281F00
oklch(24.3% 0.05 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 #151B42, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.043
- Navy Blue #001146 ΔE 0.045
- Rich Black #0D1B2A ΔE 0.049
- Dark #1B2431 ΔE 0.050
- Dark Indigo #1F0954 ΔE 0.053
- Jet #212529 ΔE 0.068
- Night Blue #040348 ΔE 0.069
- Space Cadet #2B2D42 ΔE 0.073
Use #151B42 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.