#12142A
Closest named color: Rich Black (#0D1B2A). oklch(20.2% 0.044 277.8), rgb(18, 20, 42).
Aa
White text reads best on this color (18.11:1).
About this color
#12142A is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.044 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.025 away. White text reads best on it, at 18.11:1.
| Hue family | Blues |
| Lightness | very dark (20%) |
| Chroma | muted (0.044) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.15:1 |
| White text | 18.11:1 |
Values
| HEX | #12142A |
| RGB | rgb(18, 20, 42) |
| HSL | hsl(235, 40%, 12%) |
| OKLCH | oklch(20.2% 0.044 277.8) |
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 #12142A | 18.11:1 | AAA | Lc -106.9 | Preferred for body text |
| Black text on #12142A | 1.15:1 | Fails | Lc 0.0 | Not readable |
| #12142A text on white | 18.11:1 | AAA | Lc 104.8 | Preferred for body text |
| #12142A text on black | 1.15: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
#F4F5FA
oklch(97.1% 0.007 277.2)
-
Step 100
100
#E7E9F4
oklch(93.6% 0.015 277.8)
-
Step 200
200
#D4D8ED
oklch(88.6% 0.029 277.2)
-
Step 300
300
#B8BEE2
oklch(80.9% 0.051 277.7)
-
Step 400
400
#949CD4
oklch(70.7% 0.082 277.8)
-
Step 500
500
#7A83C9
oklch(63.2% 0.106 277.3)
-
Step 600
600
#646BB6
oklch(55.6% 0.116 277.9)
-
Step 700
700
#53599C
oklch(49.1% 0.107 277.8)
-
Step 800
800
#44497F
oklch(42.7% 0.089 277.9)
-
Step 900
900
#393D66
oklch(37.6% 0.07 278.2)
-
Step 950
950 (this color)
#12142A
oklch(20.2% 0.044 277.8)
#12142A 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) | #0C172B | 0.013 |
| Deuteranopia (no green cones) | #0A152A | 0.013 |
| Tritanopia (no blue cones) | #0A191C | 0.040 |
| Achromatopsia (no color) | #161616 | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #12142A
#12142A
oklch(20.2% 0.044 277.8)
- #1C1600
#1C1600
oklch(20.2% 0.041 96)
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 #12142A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.025
- Rich Navy #001219 ΔE 0.049
- Dark #1B2431 ΔE 0.059
- Navy Blue #001146 ΔE 0.062
- Almost Black #070D0D ΔE 0.066
- Oxford Blue #1B263B ΔE 0.068
- Dark Navy #000435 ΔE 0.069
- Jet #212529 ΔE 0.070
Use #12142A 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.