#05182F#05182F
#05182F is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.8% C 0.052 H 254.2°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).
Color values
| HEX | #05182F |
|---|---|
| RGB | rgb(5, 24, 47) |
| HSL | hsl(213, 81%, 10%) |
| HSV | hsv(213, 89%, 18%) |
| CMYK | cmyk(89.4%, 48.9%, 0%, 81.6%) |
| CIE-LAB | lab(8.05, 2.22, -17.67) |
| CIE-LCH | lch(8.05, 17.81, 277.15°) |
| OKLab | oklab(20.77% -0.0143 -0.0505) |
| OKLCH | oklch(20.77% 0.052 254.2) |
| XYZ | xyz(0.9021, 0.8907, 2.8131) |
| Luminance | 0.0089 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy (survey)
#01153E
ΔE00 6.05
Dark
#1B2431
ΔE00 6.35
Navy Blue
#1B2A4A
ΔE00 6.63
Dark Navy Blue
#00022E
ΔE00 7.53
Dark Navy
#000435
ΔE00 8.04
Midnight
#03012D
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#05182F #2F1C05
analogous
#052D2F #05182F #07052F
triadic
#05182F #2F0518 #182F05
tetradic
#05182F #2F052D #2F1C05 #052F07
square
#05182F #2F052D #2F1C05 #052F07
split-complementary
#05182F #2F0705 #2D2F05
monochromatic
#030E1C #030E1C #05182F #0B3466 #11509E
Accessibility & contrast
On white
17.82
#05182F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#05182F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #05182F
17.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##05182F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##05182F | 1.00 | 17.82 | 1.18 | 17.82 |
| #FFFFFF | 17.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#06162F
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #05182f; /* rgb */ color: rgb(5, 24, 47); /* oklch */ color: oklch(20.8% 0.052 254.2);
Tailwind
colors: {
custom: {
50: '#4b5467',
500: '#05182f',
950: '#000000',
},
}SCSS
$custom: #05182f; $custom-light: #4b5467; $custom-dark: #000000;
JSON
{
"hex": "#05182f",
"rgb": {
"r": 5,
"g": 24,
"b": 47
},
"hsl": {
"h": 212.857,
"s": 80.769,
"l": 10.196
},
"oklch": {
"l": 0.20774,
"c": 0.05246,
"h": 254.2
},
"luminance": 0.00891
}Semantic roles & 50–950 ramp
primary
#05182F
secondary
#714C1F
accent
#9D31F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A