#182F8F#182F8F
#182F8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.160 H 266.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #182F8F |
|---|---|
| RGB | rgb(24, 47, 143) |
| HSL | hsl(228, 71%, 33%) |
| HSV | hsv(228, 83%, 56%) |
| CMYK | cmyk(83.2%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.35, 28.94, -55.23) |
| CIE-LCH | lch(24.35, 62.36, 297.66°) |
| OKLab | oklab(35.92% -0.0087 -0.16) |
| OKLCH | oklch(35.92% 0.16 266.9) |
| XYZ | xyz(6.3494, 4.2096, 26.4592) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Royal
#0C1793
ΔE00 6.35
Blueberry
#464196
ΔE00 7.08
Midnight Blue
#191970
ΔE00 7.20
Darkslateblue
#483D8B
ΔE00 7.32
Marine
#042E60
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F8F #8F7818
analogous
#186B8F #182F8F #3C188F
triadic
#182F8F #8F182F #2F8F18
tetradic
#182F8F #8F186B #8F7818 #188F3C
square
#182F8F #8F186B #8F7818 #188F3C
split-complementary
#182F8F #8F3C18 #6B8F18
monochromatic
#060D26 #0F1E5B #182F8F #2140C3 #4260DF
Accessibility & contrast
On white
11.40
#182F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#182F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F8F
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F8F | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #182f8f; /* rgb */ color: rgb(24, 47, 143); /* oklch */ color: oklch(35.9% 0.160 266.9);
Tailwind
colors: {
custom: {
50: '#6c67b1',
500: '#182f8f',
950: '#000000',
},
}SCSS
$custom: #182f8f; $custom-light: #6c67b1; $custom-dark: #000000;
JSON
{
"hex": "#182f8f",
"rgb": {
"r": 24,
"g": 47,
"b": 143
},
"hsl": {
"h": 228.403,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.35919,
"c": 0.1602,
"h": 266.9
},
"luminance": 0.0421
}Semantic roles & 50–950 ramp
primary
#182F8F
secondary
#C0A843
accent
#CB3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80