#0B1127
Closest named color: Rich Black (#0D1B2A). oklch(18.6% 0.046 270), rgb(11, 17, 39).
Aa
White text reads best on this color (18.68:1).
About this color
#0B1127 is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.046 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.036 away. White text reads best on it, at 18.68:1.
| Hue family | Blues |
| Lightness | very dark (19%) |
| Chroma | muted (0.046) |
| Temperature | cool |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.12:1 |
| White text | 18.68:1 |
Values
| HEX | #0B1127 |
| RGB | rgb(11, 17, 39) |
| HSL | hsl(227, 56%, 10%) |
| OKLCH | oklch(18.6% 0.046 270) |
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 #0B1127 | 18.68:1 | AAA | Lc -107.2 | Preferred for body text |
| Black text on #0B1127 | 1.12:1 | Fails | Lc 0.0 | Not readable |
| #0B1127 text on white | 18.68:1 | AAA | Lc 105.2 | Preferred for body text |
| #0B1127 text on black | 1.12: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
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E6EAF5
oklch(93.7% 0.015 270)
-
Step 200
200
#D1D9EE
oklch(88.6% 0.03 269.1)
-
Step 300
300
#B3C0E5
oklch(81% 0.054 269.9)
-
Step 400
400
#8B9ED7
oklch(70.6% 0.087 269.9)
-
Step 500
500
#6F85CD
oklch(63% 0.112 270.1)
-
Step 600
600
#586EBA
oklch(55.6% 0.121 270)
-
Step 700
700
#485CA0
oklch(49.2% 0.112 269.6)
-
Step 800
800
#3B4B82
oklch(42.7% 0.094 269.9)
-
Step 900
900
#333F68
oklch(37.7% 0.072 270.3)
-
Step 950
950 (this color)
#0B1127
oklch(18.6% 0.046 270)
#0B1127 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) | #071428 | 0.011 |
| Deuteranopia (no green cones) | #051127 | 0.010 |
| Tritanopia (no blue cones) | #00161A | 0.041 |
| Achromatopsia (no color) | #121212 | 0.046 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0B1127
#0B1127
oklch(18.6% 0.046 270)
- #191200
#191200
oklch(18.6% 0.038 91.7)
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 #0B1127, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.036
- Rich Navy #001219 ΔE 0.038
- Almost Black #070D0D ΔE 0.055
- Dark Navy #000435 ΔE 0.057
- Midnight #03012D ΔE 0.061
- Dark Navy Blue #00022E ΔE 0.062
- Navy Blue #001146 ΔE 0.062
- Very Dark Blue #000133 ΔE 0.065
Use #0B1127 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.