#24319B#24319B
#24319B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.171 H 270.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #24319B |
|---|---|
| RGB | rgb(36, 49, 155) |
| HSL | hsl(233, 62%, 37%) |
| HSV | hsv(233, 77%, 61%) |
| CMYK | cmyk(76.8%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(26.56, 33.29, -58.97) |
| CIE-LCH | lch(26.56, 67.72, 299.45°) |
| OKLab | oklab(38.03% 0.0006 -0.1706) |
| OKLCH | oklch(38.03% 0.171 270.2) |
| XYZ | xyz(7.7402, 4.9374, 31.5491) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Blueberry
#464196
ΔE00 6.05
Royal
#0C1793
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.66
Indigo Blue
#3A18B1
ΔE00 7.06
Blue Blue
#2242C7
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24319B #9B8E24
analogous
#246D9B #24319B #52249B
triadic
#24319B #9B2431 #319B24
tetradic
#24319B #9B246D #9B8E24 #249B52
square
#24319B #9B246D #9B8E24 #249B52
split-complementary
#24319B #9B5224 #6D9B24
monochromatic
#0D1238 #182169 #24319B #3041CD #5F6DDA
Accessibility & contrast
On white
10.57
#24319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#24319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24319B
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24319B | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #24319b; /* rgb */ color: rgb(36, 49, 155); /* oklch */ color: oklch(38.0% 0.171 270.2);
Tailwind
colors: {
custom: {
50: '#7369ba',
500: '#24319b',
950: '#000000',
},
}SCSS
$custom: #24319b; $custom-light: #7369ba; $custom-dark: #000000;
JSON
{
"hex": "#24319b",
"rgb": {
"r": 36,
"g": 49,
"b": 155
},
"hsl": {
"h": 233.445,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.38032,
"c": 0.17064,
"h": 270.2
},
"luminance": 0.04938
}Semantic roles & 50–950 ramp
primary
#24319B
secondary
#BFB45C
accent
#D442E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81