#0C1D40
Closest named color: Oxford Blue (#1B263B). oklch(23.9% 0.071 262.8), rgb(12, 29, 64).
Aa
White text reads best on this color (16.59:1).
About this color
#0C1D40 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.071 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.041 away. White text reads best on it, at 16.59:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | moderately saturated (0.071) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.26:1 |
| White text | 16.59:1 |
Values
| HEX | #0C1D40 |
| RGB | rgb(12, 29, 64) |
| HSL | hsl(220, 68%, 15%) |
| OKLCH | oklch(23.9% 0.071 262.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 #0C1D40 | 16.59:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #0C1D40 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #0C1D40 text on white | 16.59:1 | AAA | Lc 103.3 | Preferred for body text |
| #0C1D40 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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E1EAFB
oklch(93.5% 0.025 263.3)
-
Step 200
200
#C9DAF9
oklch(88.5% 0.047 262.5)
-
Step 300
300
#A4C1F7
oklch(80.9% 0.083 262.6)
-
Step 400
400
#739FF4
oklch(70.7% 0.134 262.6)
-
Step 500
500
#4F84EF
oklch(63% 0.171 262.7)
-
Step 600
600
#346BDE
oklch(55.6% 0.186 262.7)
-
Step 700
700
#2758C1
oklch(49.1% 0.173 262.9)
-
Step 800
800
#21499C
oklch(42.7% 0.143 262.6)
-
Step 900
900
#203E7C
oklch(37.7% 0.111 262.8)
-
Step 950
950 (this color)
#0C1D40
oklch(23.9% 0.071 262.8)
#0C1D40 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) | #0A2141 | 0.013 |
| Deuteranopia (no green cones) | #011C3F | 0.013 |
| Tritanopia (no blue cones) | #00252B | 0.056 |
| Achromatopsia (no color) | #1E1E1E | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C1D40
#0C1D40
oklch(23.9% 0.071 262.8)
- #2A1C00
#2A1C00
oklch(23.8% 0.049 82.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 #0C1D40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.041
- Rich Black #0D1B2A ΔE 0.042
- Navy Blue #001146 ΔE 0.043
- Dark #1B2431 ΔE 0.047
- Dark Indigo #1F0954 ΔE 0.063
- Jet #212529 ΔE 0.066
- Night Blue #040348 ΔE 0.070
- Marine #042E60 ΔE 0.074
Use #0C1D40 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.