#182D8F#182D8F
#182D8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.163 H 267.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #182D8F |
|---|---|
| RGB | rgb(24, 45, 143) |
| HSL | hsl(229, 71%, 33%) |
| HSV | hsv(229, 83%, 56%) |
| CMYK | cmyk(83.2%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(23.85, 30.29, -56.06) |
| CIE-LCH | lch(23.85, 63.72, 298.38°) |
| OKLab | oklab(35.55% -0.0077 -0.1624) |
| OKLCH | oklch(35.55% 0.163 267.3) |
| XYZ | xyz(6.2713, 4.0534, 26.4331) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.80
Royal
#0C1793
ΔE00 5.72
Midnight Blue
#191970
ΔE00 6.72
Blueberry
#464196
ΔE00 7.37
Darkslateblue
#483D8B
ΔE00 7.51
Cobalt Blue
#030AA7
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182D8F #8F7A18
analogous
#18688F #182D8F #3F188F
triadic
#182D8F #8F182D #2D8F18
tetradic
#182D8F #8F1868 #8F7A18 #188F3F
square
#182D8F #8F1868 #8F7A18 #188F3F
split-complementary
#182D8F #8F3F18 #688F18
monochromatic
#060C26 #0F1D5B #182D8F #213DC3 #425EDF
Accessibility & contrast
On white
11.60
#182D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#182D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182D8F
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182D8F | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #182d8f; /* rgb */ color: rgb(24, 45, 143); /* oklch */ color: oklch(35.5% 0.163 267.3);
Tailwind
colors: {
custom: {
50: '#6c66b1',
500: '#182d8f',
950: '#000000',
},
}SCSS
$custom: #182d8f; $custom-light: #6c66b1; $custom-dark: #000000;
JSON
{
"hex": "#182d8f",
"rgb": {
"r": 24,
"g": 45,
"b": 143
},
"hsl": {
"h": 229.412,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.35549,
"c": 0.16258,
"h": 267.3
},
"luminance": 0.04054
}Semantic roles & 50–950 ramp
primary
#182D8F
secondary
#C0AA43
accent
#CE3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80