#05172F#05172F
#05172F is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.054 H 255.8°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).
Color values
| HEX | #05172F |
|---|---|
| RGB | rgb(5, 23, 47) |
| HSL | hsl(214, 81%, 10%) |
| HSV | hsv(214, 89%, 18%) |
| CMYK | cmyk(89.4%, 51.1%, 0%, 81.6%) |
| CIE-LAB | lab(7.68, 3.00, -18.25) |
| CIE-LCH | lch(7.68, 18.50, 279.33°) |
| OKLab | oklab(20.49% -0.0132 -0.0522) |
| OKLCH | oklch(20.49% 0.054 255.8) |
| XYZ | xyz(0.8819, 0.8502, 2.8064) |
| Luminance | 0.0085 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.51
Navy Blue
#1B2A4A
ΔE00 6.58
Dark Navy Blue
#00022E
ΔE00 6.84
Dark
#1B2431
ΔE00 6.95
Midnight
#03012D
ΔE00 7.35
Dark Navy
#000435
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#05172F #2F1D05
analogous
#052C2F #05172F #08052F
triadic
#05172F #2F0517 #172F05
tetradic
#05172F #2F052C #2F1D05 #052F08
square
#05172F #2F052C #2F1D05 #052F08
split-complementary
#05172F #2F0805 #2C2F05
monochromatic
#030E1C #030E1C #05172F #0B3266 #114D9E
Accessibility & contrast
On white
17.95
#05172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#05172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #05172F
17.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##05172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##05172F | 1.00 | 17.95 | 1.17 | 17.95 |
| #FFFFFF | 17.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#05152F
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #05172f; /* rgb */ color: rgb(5, 23, 47); /* oklch */ color: oklch(20.5% 0.054 255.8);
Tailwind
colors: {
custom: {
50: '#4b5367',
500: '#05172f',
950: '#000000',
},
}SCSS
$custom: #05172f; $custom-light: #4b5367; $custom-dark: #000000;
JSON
{
"hex": "#05172f",
"rgb": {
"r": 5,
"g": 23,
"b": 47
},
"hsl": {
"h": 214.286,
"s": 80.769,
"l": 10.196
},
"oklch": {
"l": 0.20486,
"c": 0.05386,
"h": 255.8
},
"luminance": 0.0085
}Semantic roles & 50–950 ramp
primary
#05172F
secondary
#714E1F
accent
#A231F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A