#05162E#05162E
#05162E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.054 H 256.7°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).
Color values
| HEX | #05162E |
|---|---|
| RGB | rgb(5, 22, 46) |
| HSL | hsl(215, 80%, 10%) |
| HSV | hsv(215, 89%, 18%) |
| CMYK | cmyk(89.1%, 52.2%, 0%, 82%) |
| CIE-LAB | lab(7.26, 3.24, -18.19) |
| CIE-LCH | lch(7.26, 18.48, 280.10°) |
| OKLab | oklab(20.12% -0.0123 -0.0522) |
| OKLCH | oklch(20.12% 0.054 256.7) |
| XYZ | xyz(0.8425, 0.8032, 2.6949) |
| Luminance | 0.0080 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.46
Dark Navy Blue
#00022E
ΔE00 6.59
Navy Blue
#1B2A4A
ΔE00 6.80
Midnight
#03012D
ΔE00 7.08
Dark
#1B2431
ΔE00 7.18
Dark Navy
#000435
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#05162E #2E1D05
analogous
#052A2E #05162E #09052E
triadic
#05162E #2E0516 #162E05
tetradic
#05162E #2E052A #2E1D05 #052E09
square
#05162E #2E052A #2E1D05 #052E09
split-complementary
#05162E #2E0905 #2A2E05
monochromatic
#030D1C #030D1C #05162E #0B3065 #114B9C
Accessibility & contrast
On white
18.09
#05162E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#05162E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #05162E
18.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##05162E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##05162E | 1.00 | 18.09 | 1.16 | 18.09 |
| #FFFFFF | 18.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#04142E
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #05162e; /* rgb */ color: rgb(5, 22, 46); /* oklch */ color: oklch(20.1% 0.054 256.7);
Tailwind
colors: {
custom: {
50: '#4b5267',
500: '#05162e',
950: '#000000',
},
}SCSS
$custom: #05162e; $custom-light: #4b5267; $custom-dark: #000000;
JSON
{
"hex": "#05162e",
"rgb": {
"r": 5,
"g": 22,
"b": 46
},
"hsl": {
"h": 215.122,
"s": 80.392,
"l": 10
},
"oklch": {
"l": 0.20117,
"c": 0.0536,
"h": 256.7
},
"luminance": 0.00803
}Semantic roles & 50–950 ramp
primary
#05162E
secondary
#704E1F
accent
#A531F7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A