#0C2137
Closest named color: Dark (#1B2431). oklch(24.3% 0.05 251.6), rgb(12, 33, 55).
Aa
White text reads best on this color (16.30:1).
About this color
#0C2137 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.050 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.027 away. White text reads best on it, at 16.30:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | muted (0.050) |
| Temperature | cool |
| Nearest name | Dark (#1B2431) |
| Black text | 1.28:1 |
| White text | 16.30:1 |
Values
| HEX | #0C2137 |
| RGB | rgb(12, 33, 55) |
| HSL | hsl(211, 64%, 13%) |
| OKLCH | oklch(24.3% 0.05 251.6) |
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 #0C2137 | 16.30:1 | AAA | Lc -105.7 | Preferred for body text |
| Black text on #0C2137 | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #0C2137 text on white | 16.30:1 | AAA | Lc 103.1 | Preferred for body text |
| #0C2137 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
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E2EBF5
oklch(93.6% 0.017 250.8)
-
Step 200
200
#CADBEF
oklch(88.5% 0.033 252.5)
-
Step 300
300
#A5C4E7
oklch(80.9% 0.06 251.7)
-
Step 400
400
#74A5DA
oklch(70.8% 0.094 251.1)
-
Step 500
500
#4D8DD0
oklch(63.1% 0.121 251.3)
-
Step 600
600
#2E76BD
oklch(55.6% 0.131 251.2)
-
Step 700
700
#2063A3
oklch(49.2% 0.122 251.1)
-
Step 800
800
#1D5184
oklch(42.7% 0.101 251.1)
-
Step 900
900
#1E436A
oklch(37.6% 0.079 251.8)
-
Step 950
950 (this color)
#0C2137
oklch(24.3% 0.05 251.6)
#0C2137 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) | #172238 | 0.015 |
| Deuteranopia (no green cones) | #111E37 | 0.011 |
| Tritanopia (no blue cones) | #002629 | 0.039 |
| Achromatopsia (no color) | #202020 | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C2137
#0C2137
oklch(24.3% 0.05 251.6)
- #2F1B01
#2F1B01
oklch(24.3% 0.051 70.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 #0C2137, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark #1B2431 ΔE 0.027
- Oxford Blue #1B263B ΔE 0.029
- Rich Black #0D1B2A ΔE 0.029
- Jet #212529 ΔE 0.045
- Navy Blue #001146 ΔE 0.063
- Space Cadet #2B2D42 ΔE 0.066
- Gunmetal #293241 ΔE 0.075
- Rich Navy #001219 ΔE 0.079
Use #0C2137 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.