#182E88#182E88
#182E88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.152 H 267.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #182E88 |
|---|---|
| RGB | rgb(24, 46, 136) |
| HSL | hsl(228, 70%, 31%) |
| HSV | hsv(228, 82%, 53%) |
| CMYK | cmyk(82.4%, 66.2%, 0%, 46.7%) |
| CIE-LAB | lab(23.42, 26.88, -52.41) |
| CIE-LCH | lch(23.42, 58.90, 297.16°) |
| OKLab | oklab(35.03% -0.0079 -0.1517) |
| OKLCH | oklch(35.03% 0.152 267) |
| XYZ | xyz(5.7961, 3.9251, 23.7399) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.55
Royal
#0C1793
ΔE00 6.54
Midnight Blue
#191970
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 7.43
Marine
#042E60
ΔE00 7.43
Blueberry
#464196
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182E88 #887218
analogous
#186688 #182E88 #3A1888
triadic
#182E88 #88182E #2E8818
tetradic
#182E88 #881866 #887218 #18883A
square
#182E88 #881866 #887218 #18883A
split-complementary
#182E88 #883A18 #668818
monochromatic
#060B20 #0F1C54 #182E88 #2140BC #3E5DDD
Accessibility & contrast
On white
11.76
#182E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#182E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182E88
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182E88 | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #182e88; /* rgb */ color: rgb(24, 46, 136); /* oklch */ color: oklch(35.0% 0.152 267.0);
Tailwind
colors: {
custom: {
50: '#6a66ac',
500: '#182e88',
950: '#000000',
},
}SCSS
$custom: #182e88; $custom-light: #6a66ac; $custom-dark: #000000;
JSON
{
"hex": "#182e88",
"rgb": {
"r": 24,
"g": 46,
"b": 136
},
"hsl": {
"h": 228.214,
"s": 70,
"l": 31.373
},
"oklch": {
"l": 0.35029,
"c": 0.15192,
"h": 267
},
"luminance": 0.03926
}Semantic roles & 50–950 ramp
primary
#182E88
secondary
#BCA340
accent
#CA3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F