#182071#182071
#182071 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.137 H 270.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #182071 |
|---|---|
| RGB | rgb(24, 32, 113) |
| HSL | hsl(235, 65%, 27%) |
| HSV | hsv(235, 79%, 44%) |
| CMYK | cmyk(78.8%, 71.7%, 0%, 55.7%) |
| CIE-LAB | lab(17.55, 27.45, -47.44) |
| CIE-LCH | lch(17.55, 54.81, 300.05°) |
| OKLab | oklab(30.04% 0.0017 -0.1373) |
| OKLCH | oklch(30.04% 0.137 270.7) |
| XYZ | xyz(3.8728, 2.4191, 15.8824) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.10
Royal
#0C1793
ΔE00 6.00
Dark Royal Blue
#02066F
ΔE00 6.11
Darkblue (survey)
#030764
ΔE00 6.13
Deep Blue
#040273
ΔE00 6.83
Navy
#000080
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182071 #716918
analogous
#184D71 #182071 #3D1871
triadic
#182071 #711820 #207118
tetradic
#182071 #71184D #716918 #18713D
square
#182071 #71184D #716918 #18713D
split-complementary
#182071 #713D18 #4D7118
monochromatic
#050719 #0D123F #182071 #232EA3 #303FD3
Accessibility & contrast
On white
14.15
#182071 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#182071 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182071
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182071 | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #182071; /* rgb */ color: rgb(24, 32, 113); /* oklch */ color: oklch(30.0% 0.137 270.7);
Tailwind
colors: {
custom: {
50: '#655b9b',
500: '#182071',
950: '#000000',
},
}SCSS
$custom: #182071; $custom-light: #655b9b; $custom-dark: #000000;
JSON
{
"hex": "#182071",
"rgb": {
"r": 24,
"g": 32,
"b": 113
},
"hsl": {
"h": 234.607,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.30041,
"c": 0.13729,
"h": 270.7
},
"luminance": 0.02419
}Semantic roles & 50–950 ramp
primary
#182071
secondary
#A69D3E
accent
#D940E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E