#0C0F3A
Closest named color: Navy Blue (#001146). oklch(20% 0.082 273.3), rgb(12, 15, 58).
Aa
White text reads best on this color (18.33:1).
About this color
#0C0F3A is a very dark, moderately saturated blue. In OKLCH its lightness is 20%, its chroma 0.082 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.029 away. White text reads best on it, at 18.33:1.
| Hue family | Blues |
| Lightness | very dark (20%) |
| Chroma | moderately saturated (0.082) |
| Temperature | cool |
| Nearest name | Navy Blue (#001146) |
| Black text | 1.14:1 |
| White text | 18.33:1 |
Values
| HEX | #0C0F3A |
| RGB | rgb(12, 15, 58) |
| HSL | hsl(236, 66%, 14%) |
| OKLCH | oklch(20% 0.082 273.3) |
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 #0C0F3A | 18.33:1 | AAA | Lc -106.9 | Preferred for body text |
| Black text on #0C0F3A | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #0C0F3A text on white | 18.33:1 | AAA | Lc 104.7 | Preferred for body text |
| #0C0F3A text on black | 1.14: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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E3E9FD
oklch(93.5% 0.028 272.5)
-
Step 200
200
#CDD7FE
oklch(88.4% 0.055 273.9)
-
Step 300
300
#ACBDFF
oklch(80.9% 0.095 273)
-
Step 400
400
#8297FF
oklch(70.6% 0.154 273.2)
-
Step 500
500
#6679FF
oklch(63.1% 0.198 273.3)
-
Step 600
600
#505DEE
oklch(55.6% 0.215 273.2)
-
Step 700
700
#424BCF
oklch(49% 0.2 273.4)
-
Step 800
800
#363FA7
oklch(42.7% 0.165 273.3)
-
Step 900
900
#2E3784
oklch(37.7% 0.128 273.5)
-
Step 950
950 (this color)
#0C0F3A
oklch(20% 0.082 273.3)
#0C0F3A 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) | #00173B | 0.026 |
| Deuteranopia (no green cones) | #001239 | 0.019 |
| Tritanopia (no blue cones) | #001A22 | 0.066 |
| Achromatopsia (no color) | #151515 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C0F3A
#0C0F3A
oklch(20% 0.082 273.3)
- #1C1500
#1C1500
oklch(19.9% 0.041 93.2)
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 #0C0F3A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Blue #001146 ΔE 0.029
- Night Blue #040348 ΔE 0.040
- Dark Navy #000435 ΔE 0.045
- Rich Black #0D1B2A ΔE 0.053
- Very Dark Blue #000133 ΔE 0.056
- Midnight #03012D ΔE 0.058
- Dark Navy Blue #00022E ΔE 0.059
- Dark Indigo #1F0954 ΔE 0.060
Use #0C0F3A 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.