#050C31
Closest named color: Dark Navy (#000435). oklch(17.8% 0.074 268.2), rgb(5, 12, 49).
Aa
White text reads best on this color (19.03:1).
About this color
#050C31 is a very dark, moderately saturated blue. In OKLCH its lightness is 18%, its chroma 0.074 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.029 away. White text reads best on it, at 19.03:1.
| Hue family | Blues |
| Lightness | very dark (18%) |
| Chroma | moderately saturated (0.074) |
| Temperature | cool |
| Nearest name | Dark Navy (#000435) |
| Black text | 1.10:1 |
| White text | 19.03:1 |
Values
| HEX | #050C31 |
| RGB | rgb(5, 12, 49) |
| HSL | hsl(230, 81%, 11%) |
| OKLCH | oklch(17.8% 0.074 268.2) |
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 #050C31 | 19.03:1 | AAA | Lc -107.3 | Preferred for body text |
| Black text on #050C31 | 1.10:1 | Fails | Lc 0.0 | Not readable |
| #050C31 text on white | 19.03:1 | AAA | Lc 105.2 | Preferred for body text |
| #050C31 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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E2EAFC
oklch(93.6% 0.026 266.6)
-
Step 200
200
#CBD9FA
oklch(88.5% 0.048 267.2)
-
Step 300
300
#A8BFFA
oklch(80.9% 0.088 267.9)
-
Step 400
400
#7B9CF8
oklch(70.8% 0.14 267.8)
-
Step 500
500
#5C7FF5
oklch(63% 0.18 268.4)
-
Step 600
600
#4465E3
oklch(55.5% 0.195 268.2)
-
Step 700
700
#3653C6
oklch(49.1% 0.182 268.1)
-
Step 800
800
#2D45A0
oklch(42.8% 0.15 268.2)
-
Step 900
900
#273B7F
oklch(37.7% 0.118 268)
-
Step 950
950 (this color)
#050C31
oklch(17.8% 0.074 268.2)
#050C31 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) | #001232 | 0.018 |
| Deuteranopia (no green cones) | #000E30 | 0.011 |
| Tritanopia (no blue cones) | #00161C | 0.060 |
| Achromatopsia (no color) | #101010 | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #050C31
#050C31
oklch(17.8% 0.074 268.2)
- #181000
#181000
oklch(17.9% 0.037 87.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 #050C31, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Navy #000435 ΔE 0.029
- Midnight #03012D ΔE 0.039
- Dark Navy Blue #00022E ΔE 0.039
- Very Dark Blue #000133 ΔE 0.039
- Navy Blue #001146 ΔE 0.044
- Night Blue #040348 ΔE 0.047
- Rich Black #0D1B2A ΔE 0.057
- Rich Navy #001219 ΔE 0.057
Use #050C31 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.