#0B0C2A
Closest named color: Dark Navy (#000435). oklch(17.6% 0.06 276.9), rgb(11, 12, 42).
Aa
White text reads best on this color (19.08:1).
About this color
#0B0C2A is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.060 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.043 away. White text reads best on it, at 19.08:1.
| Hue family | Blues |
| Lightness | very dark (18%) |
| Chroma | muted (0.060) |
| Temperature | cool |
| Nearest name | Dark Navy (#000435) |
| Black text | 1.10:1 |
| White text | 19.08:1 |
Values
| HEX | #0B0C2A |
| RGB | rgb(11, 12, 42) |
| HSL | hsl(238, 58%, 10%) |
| OKLCH | oklch(17.6% 0.06 276.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 #0B0C2A | 19.08:1 | AAA | Lc -107.4 | Preferred for body text |
| Black text on #0B0C2A | 1.10:1 | Fails | Lc 0.0 | Not readable |
| #0B0C2A text on white | 19.08:1 | AAA | Lc 105.4 | Preferred for body text |
| #0B0C2A 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
#F4F5FC
oklch(97.1% 0.009 279.7)
-
Step 100
100
#E6E9F8
oklch(93.6% 0.02 276.9)
-
Step 200
200
#D2D7F4
oklch(88.4% 0.04 277.8)
-
Step 300
300
#B4BDEF
oklch(80.9% 0.071 276.7)
-
Step 400
400
#8F9AE7
oklch(70.8% 0.113 276.9)
-
Step 500
500
#747FDF
oklch(63.1% 0.144 276.5)
-
Step 600
600
#5E66CD
oklch(55.6% 0.157 276.7)
-
Step 700
700
#4E54B1
oklch(49.1% 0.145 276.8)
-
Step 800
800
#404590
oklch(42.7% 0.122 277.1)
-
Step 900
900
#363B73
oklch(37.8% 0.095 277)
-
Step 950
950 (this color)
#0B0C2A
oklch(17.6% 0.06 276.9)
#0B0C2A 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) | #00112B | 0.023 |
| Deuteranopia (no green cones) | #000E29 | 0.021 |
| Tritanopia (no blue cones) | #001319 | 0.051 |
| Achromatopsia (no color) | #101010 | 0.060 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0B0C2A
#0B0C2A
oklch(17.6% 0.06 276.9)
- #151000
#151000
oklch(17.4% 0.036 96)
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 #0B0C2A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Navy #000435 ΔE 0.043
- Midnight #03012D ΔE 0.044
- Dark Navy Blue #00022E ΔE 0.047
- Rich Navy #001219 ΔE 0.049
- Very Dark Blue #000133 ΔE 0.050
- Rich Black #0D1B2A ΔE 0.053
- Navy Blue #001146 ΔE 0.058
- Night Blue #040348 ΔE 0.063
Use #0B0C2A 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.