#0C1F47
Closest named color: Oxford Blue (#1B263B). oklch(25% 0.079 262.9), rgb(12, 31, 71).
Aa
White text reads best on this color (16.12:1).
About this color
#0C1F47 is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.079 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.12:1.
| Hue family | Blues |
| Lightness | dark (25%) |
| Chroma | moderately saturated (0.079) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.30:1 |
| White text | 16.12:1 |
Values
| HEX | #0C1F47 |
| RGB | rgb(12, 31, 71) |
| HSL | hsl(221, 71%, 16%) |
| OKLCH | oklch(25% 0.079 262.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 #0C1F47 | 16.12:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #0C1F47 | 1.30:1 | Fails | Lc 0.0 | Not readable |
| #0C1F47 text on white | 16.12:1 | AAA | Lc 102.8 | Preferred for body text |
| #0C1F47 text on black | 1.30: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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#E0EAFD
oklch(93.5% 0.028 263.4)
-
Step 200
200
#C7DAFC
oklch(88.5% 0.051 262.1)
-
Step 300
300
#A1C1FE
oklch(81% 0.094 263)
-
Step 400
400
#6E9EFD
oklch(70.7% 0.149 262.9)
-
Step 500
500
#4882FB
oklch(63.1% 0.191 262.9)
-
Step 600
600
#2B67EB
oklch(55.6% 0.209 263)
-
Step 700
700
#1F55CC
oklch(49.1% 0.193 262.9)
-
Step 800
800
#1B46A5
oklch(42.6% 0.161 263)
-
Step 900
900
#1B3C83
oklch(37.6% 0.126 263)
-
Step 950
950 (this color)
#0C1F47
oklch(25% 0.079 262.9)
#0C1F47 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) | #072448 | 0.016 |
| Deuteranopia (no green cones) | #001E46 | 0.014 |
| Tritanopia (no blue cones) | #00292F | 0.064 |
| Achromatopsia (no color) | #212121 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C1F47
#0C1F47
oklch(25% 0.079 262.9)
- #2E1F00
#2E1F00
oklch(25.1% 0.052 82.4)
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 #0C1F47, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.041
- Navy Blue #001146 ΔE 0.046
- Dark #1B2431 ΔE 0.052
- Rich Black #0D1B2A ΔE 0.056
- Dark Indigo #1F0954 ΔE 0.059
- Marine #042E60 ΔE 0.061
- Space Cadet #2B2D42 ΔE 0.070
- Jet #212529 ΔE 0.071
Use #0C1F47 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.