#05171E
Closest named color: Rich Navy (#001219). oklch(19.3% 0.028 225.4), rgb(5, 23, 30).
Aa
White text reads best on this color (18.29:1).
About this color
#05171E is a very dark close to neutral grey. In OKLCH its lightness is 19%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.024 away. White text reads best on it, at 18.29:1.
| Hue family | Neutrals |
| Lightness | very dark (19%) |
| Chroma | close to neutral grey (0.028) |
| Temperature | neutral |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.14:1 |
| White text | 18.29:1 |
Values
| HEX | #05171E |
| RGB | rgb(5, 23, 30) |
| HSL | hsl(197, 71%, 7%) |
| OKLCH | oklch(19.3% 0.028 225.4) |
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 #05171E | 18.29:1 | AAA | Lc -107.0 | Preferred for body text |
| Black text on #05171E | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #05171E text on white | 18.29:1 | AAA | Lc 104.9 | Preferred for body text |
| #05171E text on black | 1.14: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
#F2F6F8
oklch(97.1% 0.005 228.8)
-
Step 100
100
#E3EBEF
oklch(93.5% 0.01 228.9)
-
Step 200
200
#CDDCE3
oklch(88.5% 0.019 227.3)
-
Step 300
300
#ABC6D1
oklch(81% 0.033 224.3)
-
Step 400
400
#7DA8BA
oklch(70.7% 0.053 225.6)
-
Step 500
500
#5A92A9
oklch(63% 0.068 226.2)
-
Step 600
600
#3E7C94
oklch(55.5% 0.074 225.8)
-
Step 700
700
#2F697E
oklch(49.1% 0.069 224.7)
-
Step 800
800
#285667
oklch(42.8% 0.057 224.8)
-
Step 900
900
#264754
oklch(37.8% 0.045 225.5)
-
Step 950
950 (this color)
#05171E
oklch(19.3% 0.028 225.4)
#05171E 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) | #13161E | 0.021 |
| Deuteranopia (no green cones) | #0F141E | 0.018 |
| Tritanopia (no blue cones) | #001919 | 0.017 |
| Achromatopsia (no color) | #151515 | 0.028 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #05171E
#05171E
oklch(19.3% 0.028 225.4)
- #1F1009
#1F1009
oklch(19.2% 0.029 45.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 #05171E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.024
- Rich Black #0D1B2A ΔE 0.030
- Almost Black #070D0D ΔE 0.045
- Dark #1B2431 ΔE 0.067
- Jet #212529 ΔE 0.072
- Oxford Blue #1B263B ΔE 0.081
- Dark Navy #000435 ΔE 0.082
- Navy Blue #001146 ΔE 0.083
Use #05171E 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.