#0C0C2D
Closest named color: Dark Navy (#000435). oklch(18% 0.065 277.7), rgb(12, 12, 45).
Aa
White text reads best on this color (18.98:1).
About this color
#0C0C2D is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.065 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.041 away. White text reads best on it, at 18.98:1.
| Hue family | Blues |
| Lightness | very dark (18%) |
| Chroma | muted (0.065) |
| Temperature | cool |
| Nearest name | Dark Navy (#000435) |
| Black text | 1.10:1 |
| White text | 18.98:1 |
Values
| HEX | #0C0C2D |
| RGB | rgb(12, 12, 45) |
| HSL | hsl(240, 58%, 11%) |
| OKLCH | oklch(18% 0.065 277.7) |
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 #0C0C2D | 18.98:1 | AAA | Lc -107.3 | Preferred for body text |
| Black text on #0C0C2D | 1.10:1 | Fails | Lc 0.0 | Not readable |
| #0C0C2D text on white | 18.98:1 | AAA | Lc 105.3 | Preferred for body text |
| #0C0C2D text on black | 1.10: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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E6E9F9
oklch(93.6% 0.022 277.5)
-
Step 200
200
#D2D7F6
oklch(88.5% 0.043 278.2)
-
Step 300
300
#B4BDF2
oklch(81% 0.076 277.1)
-
Step 400
400
#8E98EC
oklch(70.6% 0.123 277.6)
-
Step 500
500
#757CE6
oklch(63.1% 0.157 278)
-
Step 600
600
#5F63D4
oklch(55.6% 0.17 277.8)
-
Step 700
700
#4F51B8
oklch(49.1% 0.159 278)
-
Step 800
800
#404395
oklch(42.7% 0.132 277.7)
-
Step 900
900
#363A76
oklch(37.8% 0.101 277.5)
-
Step 950
950 (this color)
#0C0C2D
oklch(18% 0.065 277.7)
#0C0C2D 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) | #00122E | 0.025 |
| Deuteranopia (no green cones) | #000F2C | 0.023 |
| Tritanopia (no blue cones) | #00141A | 0.056 |
| Achromatopsia (no color) | #101010 | 0.065 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C0C2D
#0C0C2D
oklch(18% 0.065 277.7)
- #161100
#161100
oklch(17.9% 0.037 96.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 #0C0C2D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Navy #000435 ΔE 0.041
- Midnight #03012D ΔE 0.045
- Dark Navy Blue #00022E ΔE 0.048
- Very Dark Blue #000133 ΔE 0.050
- Rich Black #0D1B2A ΔE 0.053
- Navy Blue #001146 ΔE 0.053
- Rich Navy #001219 ΔE 0.054
- Night Blue #040348 ΔE 0.058
Use #0C0C2D 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.