#005170
Closest named color: Deep Sea Blue (#015482). oklch(40.9% 0.084 232.8), rgb(0, 81, 112).
Aa
White text reads best on this color (8.71:1).
About this color
#005170 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.084 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.030 away. White text reads best on it, at 8.71:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.084) |
| Temperature | cool |
| Nearest name | Deep Sea Blue (#015482) |
| Black text | 2.41:1 |
| White text | 8.71:1 |
Values
| HEX | #005170 |
| RGB | rgb(0, 81, 112) |
| HSL | hsl(197, 100%, 22%) |
| OKLCH | oklch(40.9% 0.084 232.8) |
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 #005170 | 8.71:1 | AAA | Lc -93.9 | Preferred for body text |
| Black text on #005170 | 2.41:1 | Fails | Lc 14.6 | Not readable |
| #005170 text on white | 8.71:1 | AAA | Lc 89.3 | Fine for body text |
| #005170 text on black | 2.41:1 | Fails | Lc -12.9 | 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 800.
-
Step 50
50
#F1F6F9
oklch(97% 0.007 233.6)
-
Step 100
100
#E1ECF2
oklch(93.7% 0.014 231.2)
-
Step 200
200
#C8DDE9
oklch(88.6% 0.028 232.7)
-
Step 300
300
#A2C7DC
oklch(81% 0.049 233.1)
-
Step 400
400
#6DA9CA
oklch(70.6% 0.079 233.5)
-
Step 500
500
#4094BC
oklch(63.2% 0.1 232.1)
-
Step 600
600
#147DA9
oklch(55.6% 0.11 233.3)
-
Step 700
700
#006990
oklch(49% 0.101 232.9)
-
Step 800
800 (this color)
#005170
oklch(40.9% 0.084 232.8)
-
Step 900
900
#15475F
oklch(37.7% 0.066 233.5)
-
Step 950
950
#0E2A37
oklch(27% 0.041 231.2)
#005170 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) | #415071 | 0.053 |
| Deuteranopia (no green cones) | #344770 | 0.045 |
| Tritanopia (no blue cones) | #00595C | 0.049 |
| Achromatopsia (no color) | #4B4B4B | 0.084 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #005170
#005170
oklch(40.9% 0.084 232.8)
- #6D3C19
#6D3C19
oklch(41% 0.084 53.3)
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 #005170, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Sea Blue #015482 ΔE 0.030
- Light Navy #155084 ΔE 0.037
- Deep Teal #00555A ΔE 0.044
- Dark Grey Blue #29465B ΔE 0.045
- Petrol #005F6A ΔE 0.049
- Twilight Blue #0A437A ΔE 0.050
- Charcoal #264653 ΔE 0.053
- Dusk Blue #26538D ΔE 0.055
Use #005170 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.