#182B8F#182B8F
#182B8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.165 H 267.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #182B8F |
|---|---|
| RGB | rgb(24, 43, 143) |
| HSL | hsl(230, 71%, 33%) |
| HSV | hsv(230, 83%, 56%) |
| CMYK | cmyk(83.2%, 69.9%, 0%, 43.9%) |
| CIE-LAB | lab(23.35, 31.62, -56.88) |
| CIE-LCH | lch(23.35, 65.07, 299.07°) |
| OKLab | oklab(35.19% -0.0068 -0.1648) |
| OKLCH | oklch(35.19% 0.165 267.6) |
| XYZ | xyz(6.1968, 3.9044, 26.4083) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.10
Royal
#0C1793
ΔE00 5.10
Midnight Blue
#191970
ΔE00 6.29
Cobalt Blue
#030AA7
ΔE00 7.41
Blueberry
#464196
ΔE00 7.70
Darkslateblue
#483D8B
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182B8F #8F7C18
analogous
#18668F #182B8F #40188F
triadic
#182B8F #8F182B #2B8F18
tetradic
#182B8F #8F1866 #8F7C18 #188F40
square
#182B8F #8F1866 #8F7C18 #188F40
split-complementary
#182B8F #8F4018 #668F18
monochromatic
#060B26 #0F1B5B #182B8F #213BC3 #425BDF
Accessibility & contrast
On white
11.79
#182B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#182B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182B8F
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182B8F | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #182b8f; /* rgb */ color: rgb(24, 43, 143); /* oklch */ color: oklch(35.2% 0.165 267.6);
Tailwind
colors: {
custom: {
50: '#6c64b1',
500: '#182b8f',
950: '#000000',
},
}SCSS
$custom: #182b8f; $custom-light: #6c64b1; $custom-dark: #000000;
JSON
{
"hex": "#182b8f",
"rgb": {
"r": 24,
"g": 43,
"b": 143
},
"hsl": {
"h": 230.42,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.35188,
"c": 0.16492,
"h": 267.6
},
"luminance": 0.03905
}Semantic roles & 50–950 ramp
primary
#182B8F
secondary
#C0AC43
accent
#D13AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80