#05162F#05162F
#05162F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.055 H 257.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #05162F |
|---|---|
| RGB | rgb(5, 22, 47) |
| HSL | hsl(216, 81%, 10%) |
| HSV | hsv(216, 89%, 18%) |
| CMYK | cmyk(89.4%, 53.2%, 0%, 81.6%) |
| CIE-LAB | lab(7.33, 3.74, -18.81) |
| CIE-LCH | lch(7.33, 19.18, 281.23°) |
| OKLab | oklab(20.2% -0.0121 -0.054) |
| OKLCH | oklch(20.2% 0.055 257.4) |
| XYZ | xyz(0.8624, 0.8112, 2.7999) |
| Luminance | 0.0081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.05
Dark Navy Blue
#00022E
ΔE00 6.21
Navy Blue
#1B2A4A
ΔE00 6.64
Midnight
#03012D
ΔE00 6.70
Dark Navy
#000435
ΔE00 6.96
Very Dark Blue
#000133
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#05162F #2F1E05
analogous
#052B2F #05162F #09052F
triadic
#05162F #2F0516 #162F05
tetradic
#05162F #2F052B #2F1E05 #052F09
square
#05162F #2F052B #2F1E05 #052F09
split-complementary
#05162F #2F0905 #2B2F05
monochromatic
#030D1C #030D1C #05162F #0B3066 #114A9E
Accessibility & contrast
On white
18.07
#05162F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#05162F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #05162F
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##05162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##05162F | 1.00 | 18.07 | 1.16 | 18.07 |
| #FFFFFF | 18.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #05162f; /* rgb */ color: rgb(5, 22, 47); /* oklch */ color: oklch(20.2% 0.055 257.4);
Tailwind
colors: {
custom: {
50: '#4b5267',
500: '#05162f',
950: '#000000',
},
}SCSS
$custom: #05162f; $custom-light: #4b5267; $custom-dark: #000000;
JSON
{
"hex": "#05162f",
"rgb": {
"r": 5,
"g": 22,
"b": 47
},
"hsl": {
"h": 215.714,
"s": 80.769,
"l": 10.196
},
"oklch": {
"l": 0.20201,
"c": 0.05531,
"h": 257.4
},
"luminance": 0.00811
}Semantic roles & 50–950 ramp
primary
#05162F
secondary
#71501F
accent
#A731F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A