#182E8D#182E8D
#182E8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.159 H 267.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #182E8D |
|---|---|
| RGB | rgb(24, 46, 141) |
| HSL | hsl(229, 71%, 32%) |
| HSV | hsv(229, 83%, 55%) |
| CMYK | cmyk(83%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(23.90, 28.84, -54.73) |
| CIE-LCH | lch(23.90, 61.86, 297.79°) |
| OKLab | oklab(35.53% -0.0081 -0.1585) |
| OKLCH | oklch(35.53% 0.159 267.1) |
| XYZ | xyz(6.1597, 4.0705, 25.6552) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.91
Royal
#0C1793
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.83
Blueberry
#464196
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.40
Marine
#042E60
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182E8D #8D7718
analogous
#18698D #182E8D #3D188D
triadic
#182E8D #8D182E #2E8D18
tetradic
#182E8D #8D1869 #8D7718 #188D3D
square
#182E8D #8D1869 #8D7718 #188D3D
split-complementary
#182E8D #8D3D18 #698D18
monochromatic
#060C24 #0F1D59 #182E8D #213FC1 #415EDF
Accessibility & contrast
On white
11.58
#182E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#182E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182E8D
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182E8D | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #182e8d; /* rgb */ color: rgb(24, 46, 141); /* oklch */ color: oklch(35.5% 0.159 267.1);
Tailwind
colors: {
custom: {
50: '#6b66af',
500: '#182e8d',
950: '#000000',
},
}SCSS
$custom: #182e8d; $custom-light: #6b66af; $custom-dark: #000000;
JSON
{
"hex": "#182e8d",
"rgb": {
"r": 24,
"g": 46,
"b": 141
},
"hsl": {
"h": 228.718,
"s": 70.909,
"l": 32.353
},
"oklch": {
"l": 0.3553,
"c": 0.15871,
"h": 267.1
},
"luminance": 0.04071
}Semantic roles & 50–950 ramp
primary
#182E8D
secondary
#BFA842
accent
#CC3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F