#12152F
Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.051 276.1), rgb(18, 21, 47).
Aa
White text reads best on this color (17.88:1).
About this color
#12152F is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.051 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.026 away. White text reads best on it, at 17.88:1.
| Hue family | Blues |
| Lightness | very dark (21%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.17:1 |
| White text | 17.88:1 |
Values
| HEX | #12152F |
| RGB | rgb(18, 21, 47) |
| HSL | hsl(234, 45%, 13%) |
| OKLCH | oklch(20.9% 0.051 276.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 #12152F | 17.88:1 | AAA | Lc -106.8 | Preferred for body text |
| Black text on #12152F | 1.17:1 | Fails | Lc 0.0 | Not readable |
| #12152F text on white | 17.88:1 | AAA | Lc 104.6 | Preferred for body text |
| #12152F text on black | 1.17: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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E6E9F6
oklch(93.6% 0.018 275.6)
-
Step 200
200
#D3D8F0
oklch(88.6% 0.033 276.3)
-
Step 300
300
#B5BEE8
oklch(80.9% 0.06 275.5)
-
Step 400
400
#909BDD
oklch(70.6% 0.097 276.3)
-
Step 500
500
#7681D4
oklch(63.1% 0.125 276.5)
-
Step 600
600
#5F69C1
oklch(55.5% 0.136 276.2)
-
Step 700
700
#4F57A6
oklch(49% 0.125 276.4)
-
Step 800
800
#404887
oklch(42.7% 0.104 275.6)
-
Step 900
900
#363D6C
oklch(37.8% 0.081 275.5)
-
Step 950
950 (this color)
#12152F
oklch(20.9% 0.051 276.1)
#12152F 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) | #0A1830 | 0.014 |
| Deuteranopia (no green cones) | #07162E | 0.017 |
| Tritanopia (no blue cones) | #061B1F | 0.047 |
| Achromatopsia (no color) | #171717 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12152F
#12152F
oklch(20.9% 0.051 276.1)
- #1E1800
#1E1800
oklch(21% 0.043 96.8)
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 #12152F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.026
- Navy Blue #001146 ΔE 0.054
- Dark #1B2431 ΔE 0.056
- Rich Navy #001219 ΔE 0.057
- Oxford Blue #1B263B ΔE 0.062
- Dark Navy #000435 ΔE 0.068
- Midnight Purple #280137 ΔE 0.068
- Jet #212529 ΔE 0.069
Use #12152F 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.