#182F8E#182F8E
#182F8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.159 H 266.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #182F8E |
|---|---|
| RGB | rgb(24, 47, 142) |
| HSL | hsl(228, 71%, 33%) |
| HSV | hsv(228, 83%, 56%) |
| CMYK | cmyk(83.1%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(24.26, 28.55, -54.77) |
| CIE-LCH | lch(24.26, 61.77, 297.53°) |
| OKLab | oklab(35.82% -0.0087 -0.1586) |
| OKLCH | oklch(35.82% 0.159 266.9) |
| XYZ | xyz(6.2740, 4.1795, 26.0620) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.68
Royal
#0C1793
ΔE00 6.41
Blueberry
#464196
ΔE00 7.11
Midnight Blue
#191970
ΔE00 7.14
Darkslateblue
#483D8B
ΔE00 7.31
Marine
#042E60
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F8E #8E7718
analogous
#186A8E #182F8E #3C188E
triadic
#182F8E #8E182F #2F8E18
tetradic
#182F8E #8E186A #8E7718 #188E3C
square
#182F8E #8E186A #8E7718 #188E3C
split-complementary
#182F8E #8E3C18 #6A8E18
monochromatic
#060C25 #0F1E5A #182F8E #2140C2 #4160DF
Accessibility & contrast
On white
11.44
#182F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#182F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F8E
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F8E | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #182f8e; /* rgb */ color: rgb(24, 47, 142); /* oklch */ color: oklch(35.8% 0.159 266.9);
Tailwind
colors: {
custom: {
50: '#6c67b0',
500: '#182f8e',
950: '#000000',
},
}SCSS
$custom: #182f8e; $custom-light: #6c67b0; $custom-dark: #000000;
JSON
{
"hex": "#182f8e",
"rgb": {
"r": 24,
"g": 47,
"b": 142
},
"hsl": {
"h": 228.305,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.35818,
"c": 0.15886,
"h": 266.9
},
"luminance": 0.0418
}Semantic roles & 50–950 ramp
primary
#182F8E
secondary
#C0A742
accent
#CB3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80