#05071D
Closest named color: Midnight (#03012D). oklch(14.3% 0.048 273.6), rgb(5, 7, 29).
Aa
White text reads best on this color (19.91:1).
About this color
#05071D is a very dark, muted blue. In OKLCH its lightness is 14%, its chroma 0.048 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.041 away. White text reads best on it, at 19.91:1.
| Hue family | Blues |
| Lightness | very dark (14%) |
| Chroma | muted (0.048) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.05:1 |
| White text | 19.91:1 |
Values
| HEX | #05071D |
| RGB | rgb(5, 7, 29) |
| HSL | hsl(235, 71%, 7%) |
| OKLCH | oklch(14.3% 0.048 273.6) |
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 #05071D | 19.91:1 | AAA | Lc -107.7 | Preferred for body text |
| Black text on #05071D | 1.05:1 | Fails | Lc 0.0 | Not readable |
| #05071D text on white | 19.91:1 | AAA | Lc 105.8 | Preferred for body text |
| #05071D text on black | 1.05: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
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E6E9F5
oklch(93.5% 0.016 274.8)
-
Step 200
200
#D2D8EE
oklch(88.4% 0.031 273.6)
-
Step 300
300
#B5BFE6
oklch(81% 0.056 273.8)
-
Step 400
400
#8E9DD9
oklch(70.7% 0.09 273.1)
-
Step 500
500
#7383CF
oklch(63% 0.116 273.6)
-
Step 600
600
#5D6CBC
oklch(55.7% 0.125 273.7)
-
Step 700
700
#4C5AA2
oklch(49.2% 0.116 273.1)
-
Step 800
800
#3F4A83
oklch(42.8% 0.095 273.5)
-
Step 900
900
#353E69
oklch(37.7% 0.074 273.4)
-
Step 950
950 (this color)
#05071D
oklch(14.3% 0.048 273.6)
#05071D 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) | #000A1E | 0.016 |
| Deuteranopia (no green cones) | #00081D | 0.014 |
| Tritanopia (no blue cones) | #000C10 | 0.040 |
| Achromatopsia (no color) | #090909 | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #05071D
#05071D
oklch(14.3% 0.048 273.6)
- #0E0900
#0E0900
oklch(14.3% 0.029 91.6)
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 #05071D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.041
- Dark Navy Blue #00022E ΔE 0.044
- Rich Navy #001219 ΔE 0.045
- Almost Black #070D0D ΔE 0.047
- Dark Navy #000435 ΔE 0.052
- Very Dark Blue #000133 ΔE 0.052
- Rich Black #0D1B2A ΔE 0.077
- Night Blue #040348 ΔE 0.087
Use #05071D 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.