#24399D#24399D
#24399D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.164 H 268.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #24399D |
|---|---|
| RGB | rgb(36, 57, 157) |
| HSL | hsl(230, 63%, 38%) |
| HSV | hsv(230, 77%, 62%) |
| CMYK | cmyk(77.1%, 63.7%, 0%, 38.4%) |
| CIE-LAB | lab(28.73, 28.79, -56.62) |
| CIE-LCH | lch(28.73, 63.52, 296.95°) |
| OKLab | oklab(39.68% -0.0044 -0.1637) |
| OKLCH | oklch(39.68% 0.164 268.4) |
| XYZ | xyz(8.2744, 5.7347, 32.5626) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blueberry
#464196
ΔE00 5.12
Cobalt
#0047AB
ΔE00 5.63
Blue Blue
#2242C7
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 6.38
Cobalt (survey)
#1E488F
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24399D #9D8824
analogous
#24759D #24399D #4C249D
triadic
#24399D #9D2439 #399D24
tetradic
#24399D #9D2475 #9D8824 #249D4C
square
#24399D #9D2475 #9D8824 #249D4C
split-complementary
#24399D #9D4C24 #759D24
monochromatic
#0D1539 #19276B #24399D #2F4BCF #6176DB
Accessibility & contrast
On white
9.78
#24399D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#24399D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24399D
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24399D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24399D | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #24399d; /* rgb */ color: rgb(36, 57, 157); /* oklch */ color: oklch(39.7% 0.164 268.4);
Tailwind
colors: {
custom: {
50: '#726fbb',
500: '#24399d',
950: '#000000',
},
}SCSS
$custom: #24399d; $custom-light: #726fbb; $custom-dark: #000000;
JSON
{
"hex": "#24399d",
"rgb": {
"r": 36,
"g": 57,
"b": 157
},
"hsl": {
"h": 229.587,
"s": 62.694,
"l": 37.843
},
"oklch": {
"l": 0.39684,
"c": 0.16376,
"h": 268.4
},
"luminance": 0.05736
}Semantic roles & 50–950 ramp
primary
#24399D
secondary
#C0AF5D
accent
#C942E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81