#24337A#24337A
#24337A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.122 H 270.0°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #24337A |
|---|---|
| RGB | rgb(36, 51, 122) |
| HSL | hsl(230, 54%, 31%) |
| HSV | hsv(230, 70%, 48%) |
| CMYK | cmyk(70.5%, 58.2%, 0%, 52.2%) |
| CIE-LAB | lab(24.15, 19.42, -42.38) |
| CIE-LCH | lch(24.15, 46.62, 294.61°) |
| OKLab | oklab(35.35% 0 -0.122) |
| OKLCH | oklch(35.35% 0.122 270) |
| XYZ | xyz(5.4230, 4.1473, 18.9233) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.60
Marine Blue
#01386A
ΔE00 6.61
Blueberry
#464196
ΔE00 7.05
Darkish Blue
#014182
ΔE00 7.13
Sapphire (survey)
#2138AB
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24337A #7A6B24
analogous
#245E7A #24337A #40247A
triadic
#24337A #7A2433 #337A24
tetradic
#24337A #7A245E #7A6B24 #247A40
square
#24337A #7A245E #7A6B24 #247A40
split-complementary
#24337A #7A4024 #5E7A24
monochromatic
#080B1B #161F4B #24337A #3247A9 #4E64CB
Accessibility & contrast
On white
11.48
#24337A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#24337A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24337A
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24337A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24337A | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #24337a; /* rgb */ color: rgb(36, 51, 122); /* oklch */ color: oklch(35.4% 0.122 270.0);
Tailwind
colors: {
custom: {
50: '#6a6aa1',
500: '#24337a',
950: '#000000',
},
}SCSS
$custom: #24337a; $custom-light: #6a6aa1; $custom-dark: #000000;
JSON
{
"hex": "#24337a",
"rgb": {
"r": 36,
"g": 51,
"b": 122
},
"hsl": {
"h": 229.535,
"s": 54.43,
"l": 30.98
},
"oklch": {
"l": 0.35354,
"c": 0.12198,
"h": 270
},
"luminance": 0.04148
}Semantic roles & 50–950 ramp
primary
#24337A
secondary
#AC9C4D
accent
#C44ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F