#051127#051127
#051127 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.049 H 260.2°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).
Color values
| HEX | #051127 |
|---|---|
| RGB | rgb(5, 17, 39) |
| HSL | hsl(219, 77%, 9%) |
| HSV | hsv(219, 87%, 15%) |
| CMYK | cmyk(87.2%, 56.4%, 0%, 84.7%) |
| CIE-LAB | lab(5.24, 3.20, -16.14) |
| CIE-LCH | lch(5.24, 16.45, 281.23°) |
| OKLab | oklab(18.09% -0.0083 -0.0481) |
| OKLCH | oklch(18.09% 0.049 260.2) |
| XYZ | xyz(0.6291, 0.5796, 1.9978) |
| Luminance | 0.0058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 6.65
Dark Navy Blue
#00022E
ΔE00 6.74
Midnight
#03012D
ΔE00 7.12
Dark
#1B2431
ΔE00 7.42
Dark Navy
#000435
ΔE00 7.78
Very Dark Blue
#000133
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#051127 #271B05
analogous
#052227 #051127 #0A0527
triadic
#051127 #270511 #112705
tetradic
#051127 #270522 #271B05 #05270A
square
#051127 #270522 #271B05 #05270A
split-complementary
#051127 #270A05 #222705
monochromatic
#030C1B #030C1B #051127 #0C295D #134093
Accessibility & contrast
On white
18.82
#051127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#051127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #051127
18.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##051127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##051127 | 1.00 | 18.82 | 1.12 | 18.82 |
| #FFFFFF | 18.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#071328
Deuteranopia (green-blind)
#021027
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #051127; /* rgb */ color: rgb(5, 17, 39); /* oklch */ color: oklch(18.1% 0.049 260.2);
Tailwind
colors: {
custom: {
50: '#494f61',
500: '#051127',
950: '#000000',
},
}SCSS
$custom: #051127; $custom-light: #494f61; $custom-dark: #000000;
JSON
{
"hex": "#051127",
"rgb": {
"r": 5,
"g": 17,
"b": 39
},
"hsl": {
"h": 218.824,
"s": 77.273,
"l": 8.627
},
"oklch": {
"l": 0.1809,
"c": 0.04885,
"h": 260.2
},
"luminance": 0.0058
}Semantic roles & 50–950 ramp
primary
#051127
secondary
#694F1F
accent
#B034F4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779