#0C1E3E
Closest named color: Oxford Blue (#1B263B). oklch(24% 0.066 260.9), rgb(12, 30, 62).
Aa
White text reads best on this color (16.52:1).
About this color
#0C1E3E is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.066 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.037 away. White text reads best on it, at 16.52:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | muted (0.066) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.27:1 |
| White text | 16.52:1 |
Values
| HEX | #0C1E3E |
| RGB | rgb(12, 30, 62) |
| HSL | hsl(218, 68%, 15%) |
| OKLCH | oklch(24% 0.066 260.9) |
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 #0C1E3E | 16.52:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #0C1E3E | 1.27:1 | Fails | Lc 0.0 | Not readable |
| #0C1E3E text on white | 16.52:1 | AAA | Lc 103.3 | Preferred for body text |
| #0C1E3E text on black | 1.27: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
#E1EAF9
oklch(93.5% 0.023 260.7)
-
Step 200
200
#C9DAF6
oklch(88.4% 0.043 260.4)
-
Step 300
300
#A4C2F4
oklch(81% 0.078 260.5)
-
Step 400
400
#73A0EE
oklch(70.6% 0.125 260.9)
-
Step 500
500
#4F86E8
oklch(63% 0.159 261)
-
Step 600
600
#336ED7
oklch(55.7% 0.173 260.9)
-
Step 700
700
#265BBA
oklch(49.1% 0.161 261)
-
Step 800
800
#204B97
oklch(42.8% 0.134 260.8)
-
Step 900
900
#1F3F78
oklch(37.6% 0.105 261)
-
Step 950
950 (this color)
#0C1E3E
oklch(24% 0.066 260.9)
#0C1E3E 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) | #0E213F | 0.011 |
| Deuteranopia (no green cones) | #051D3D | 0.009 |
| Tritanopia (no blue cones) | #00252A | 0.052 |
| Achromatopsia (no color) | #1F1F1F | 0.066 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C1E3E
#0C1E3E
oklch(24% 0.066 260.9)
- #2B1C00
#2B1C00
oklch(23.9% 0.049 80.6)
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 #0C1E3E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.037
- Rich Black #0D1B2A ΔE 0.039
- Dark #1B2431 ΔE 0.042
- Navy Blue #001146 ΔE 0.047
- Jet #212529 ΔE 0.061
- Dark Indigo #1F0954 ΔE 0.068
- Space Cadet #2B2D42 ΔE 0.072
- Night Blue #040348 ΔE 0.074
Use #0C1E3E 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.