#24339E#24339E
#24339E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.172 H 269.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #24339E |
|---|---|
| RGB | rgb(36, 51, 158) |
| HSL | hsl(233, 63%, 38%) |
| HSV | hsv(233, 77%, 62%) |
| CMYK | cmyk(77.2%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(27.33, 33.11, -59.54) |
| CIE-LCH | lch(27.33, 68.12, 299.08°) |
| OKLab | oklab(38.68% -0.0008 -0.1723) |
| OKLCH | oklch(38.68% 0.172 269.7) |
| XYZ | xyz(8.0808, 5.2105, 32.9210) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Blueberry
#464196
ΔE00 5.80
Darkslateblue
#483D8B
ΔE00 6.65
Blue Blue
#2242C7
ΔE00 6.75
Royal
#0C1793
ΔE00 7.01
Ocean Blue
#4F42B5
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24339E #9E8F24
analogous
#24709E #24339E #52249E
triadic
#24339E #9E2433 #339E24
tetradic
#24339E #9E2470 #9E8F24 #249E52
square
#24339E #9E2470 #9E8F24 #249E52
split-complementary
#24339E #9E5224 #709E24
monochromatic
#0D133A #19236C #24339E #2F43D0 #6170DB
Accessibility & contrast
On white
10.28
#24339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#24339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24339E
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24339E | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #24339e; /* rgb */ color: rgb(36, 51, 158); /* oklch */ color: oklch(38.7% 0.172 269.7);
Tailwind
colors: {
custom: {
50: '#736bbc',
500: '#24339e',
950: '#000000',
},
}SCSS
$custom: #24339e; $custom-light: #736bbc; $custom-dark: #000000;
JSON
{
"hex": "#24339e",
"rgb": {
"r": 36,
"g": 51,
"b": 158
},
"hsl": {
"h": 232.623,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.3868,
"c": 0.17228,
"h": 269.7
},
"luminance": 0.05211
}Semantic roles & 50–950 ramp
primary
#24339E
secondary
#C0B45E
accent
#D242E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81