#182F9F#182F9F
#182F9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.181 H 266.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #182F9F |
|---|---|
| RGB | rgb(24, 47, 159) |
| HSL | hsl(230, 74%, 36%) |
| HSV | hsv(230, 85%, 62%) |
| CMYK | cmyk(84.9%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(25.95, 35.05, -62.43) |
| CIE-LCH | lch(25.95, 71.59, 299.31°) |
| OKLab | oklab(37.57% -0.0097 -0.1809) |
| OKLCH | oklch(37.57% 0.181 266.9) |
| XYZ | xyz(7.6490, 4.7295, 33.3039) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.91
Royal
#0C1793
ΔE00 5.99
Indigo Blue
#3A18B1
ΔE00 6.84
Blueberry
#464196
ΔE00 7.04
Blue Blue
#2242C7
ΔE00 7.36
Cobalt Blue
#030AA7
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F9F #9F8818
analogous
#18729F #182F9F #44189F
triadic
#182F9F #9F182F #2F9F18
tetradic
#182F9F #9F1872 #9F8818 #189F44
square
#182F9F #9F1872 #9F8818 #189F44
split-complementary
#182F9F #9F4418 #729F18
monochromatic
#081035 #101F6A #182F9F #203FD4 #4D67E4
Accessibility & contrast
On white
10.79
#182F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#182F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F9F
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F9F | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #182f9f; /* rgb */ color: rgb(24, 47, 159); /* oklch */ color: oklch(37.6% 0.181 266.9);
Tailwind
colors: {
custom: {
50: '#7068bd',
500: '#182f9f',
950: '#000000',
},
}SCSS
$custom: #182f9f; $custom-light: #7068bd; $custom-dark: #000000;
JSON
{
"hex": "#182f9f",
"rgb": {
"r": 24,
"g": 47,
"b": 159
},
"hsl": {
"h": 229.778,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.37566,
"c": 0.18121,
"h": 266.9
},
"luminance": 0.0473
}Semantic roles & 50–950 ramp
primary
#182F9F
secondary
#C6B14D
accent
#D137F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81