#182C8F#182C8F
#182C8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.164 H 267.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #182C8F |
|---|---|
| RGB | rgb(24, 44, 143) |
| HSL | hsl(230, 71%, 33%) |
| HSV | hsv(230, 83%, 56%) |
| CMYK | cmyk(83.2%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(23.60, 30.95, -56.47) |
| CIE-LCH | lch(23.60, 64.40, 298.73°) |
| OKLab | oklab(35.37% -0.0072 -0.1636) |
| OKLCH | oklch(35.37% 0.164 267.5) |
| XYZ | xyz(6.2336, 3.9780, 26.4206) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.94
Royal
#0C1793
ΔE00 5.41
Midnight Blue
#191970
ΔE00 6.50
Blueberry
#464196
ΔE00 7.53
Darkslateblue
#483D8B
ΔE00 7.62
Cobalt Blue
#030AA7
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182C8F #8F7B18
analogous
#18678F #182C8F #40188F
triadic
#182C8F #8F182C #2C8F18
tetradic
#182C8F #8F1867 #8F7B18 #188F40
square
#182C8F #8F1867 #8F7B18 #188F40
split-complementary
#182C8F #8F4018 #678F18
monochromatic
#060C26 #0F1C5B #182C8F #213CC3 #425DDF
Accessibility & contrast
On white
11.69
#182C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#182C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182C8F
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182C8F | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #182c8f; /* rgb */ color: rgb(24, 44, 143); /* oklch */ color: oklch(35.4% 0.164 267.5);
Tailwind
colors: {
custom: {
50: '#6c65b1',
500: '#182c8f',
950: '#000000',
},
}SCSS
$custom: #182c8f; $custom-light: #6c65b1; $custom-dark: #000000;
JSON
{
"hex": "#182c8f",
"rgb": {
"r": 24,
"g": 44,
"b": 143
},
"hsl": {
"h": 229.916,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.35367,
"c": 0.16376,
"h": 267.5
},
"luminance": 0.03979
}Semantic roles & 50–950 ramp
primary
#182C8F
secondary
#C0AB43
accent
#D03AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80