#182C8E#182C8E
#182C8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.162 H 267.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #182C8E |
|---|---|
| RGB | rgb(24, 44, 142) |
| HSL | hsl(230, 71%, 33%) |
| HSV | hsv(230, 83%, 56%) |
| CMYK | cmyk(83.1%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(23.50, 30.57, -56.02) |
| CIE-LCH | lch(23.50, 63.82, 298.62°) |
| OKLab | oklab(35.26% -0.0072 -0.1623) |
| OKLCH | oklch(35.26% 0.162 267.5) |
| XYZ | xyz(6.1582, 3.9478, 26.0234) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.05
Royal
#0C1793
ΔE00 5.47
Midnight Blue
#191970
ΔE00 6.42
Blueberry
#464196
ΔE00 7.55
Darkslateblue
#483D8B
ΔE00 7.61
Cobalt Blue
#030AA7
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182C8E #8E7A18
analogous
#18678E #182C8E #3F188E
triadic
#182C8E #8E182C #2C8E18
tetradic
#182C8E #8E1867 #8E7A18 #188E3F
square
#182C8E #8E1867 #8E7A18 #188E3F
split-complementary
#182C8E #8E3F18 #678E18
monochromatic
#060C25 #0F1C5A #182C8E #213CC2 #415CDF
Accessibility & contrast
On white
11.73
#182C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#182C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182C8E
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182C8E | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #182c8e; /* rgb */ color: rgb(24, 44, 142); /* oklch */ color: oklch(35.3% 0.162 267.5);
Tailwind
colors: {
custom: {
50: '#6c65b0',
500: '#182c8e',
950: '#000000',
},
}SCSS
$custom: #182c8e; $custom-light: #6c65b0; $custom-dark: #000000;
JSON
{
"hex": "#182c8e",
"rgb": {
"r": 24,
"g": 44,
"b": 142
},
"hsl": {
"h": 229.831,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.35264,
"c": 0.16243,
"h": 267.5
},
"luminance": 0.03949
}Semantic roles & 50–950 ramp
primary
#182C8E
secondary
#C0AA42
accent
#CF3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80