#24399F#24399F
#24399F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.166 H 268.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #24399F |
|---|---|
| RGB | rgb(36, 57, 159) |
| HSL | hsl(230, 63%, 38%) |
| HSV | hsv(230, 77%, 62%) |
| CMYK | cmyk(77.4%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.91, 29.54, -57.54) |
| CIE-LCH | lch(28.91, 64.68, 297.18°) |
| OKLab | oklab(39.87% -0.0045 -0.1664) |
| OKLCH | oklch(39.87% 0.166 268.5) |
| XYZ | xyz(8.4465, 5.8036, 33.4692) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.78
Blueberry
#464196
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.61
Blue Blue
#2242C7
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.48
Ocean Blue
#4F42B5
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24399F #9F8A24
analogous
#24769F #24399F #4C249F
triadic
#24399F #9F2439 #399F24
tetradic
#24399F #9F2476 #9F8A24 #249F4C
square
#24399F #9F2476 #9F8A24 #249F4C
split-complementary
#24399F #9F4C24 #769F24
monochromatic
#0D153B #19276D #24399F #304BD0 #6277DB
Accessibility & contrast
On white
9.72
#24399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#24399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24399F
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24399F | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #24399f; /* rgb */ color: rgb(36, 57, 159); /* oklch */ color: oklch(39.9% 0.166 268.5);
Tailwind
colors: {
custom: {
50: '#736fbc',
500: '#24399f',
950: '#000000',
},
}SCSS
$custom: #24399f; $custom-light: #736fbc; $custom-dark: #000000;
JSON
{
"hex": "#24399f",
"rgb": {
"r": 36,
"g": 57,
"b": 159
},
"hsl": {
"h": 229.756,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.39871,
"c": 0.16647,
"h": 268.5
},
"luminance": 0.05805
}Semantic roles & 50–950 ramp
primary
#24399F
secondary
#C1B05E
accent
#CA42E6
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81