#24299F#24299F
#24299F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.185 H 271.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #24299F |
|---|---|
| RGB | rgb(36, 41, 159) |
| HSL | hsl(238, 63%, 38%) |
| HSV | hsv(238, 77%, 62%) |
| CMYK | cmyk(77.4%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.15, 39.70, -63.73) |
| CIE-LCH | lch(25.15, 75.09, 301.92°) |
| OKLab | oklab(37.14% 0.0042 -0.1845) |
| OKLCH | oklch(37.14% 0.185 271.3) |
| XYZ | xyz(7.7764, 4.4633, 33.2458) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.39
Royal
#0C1793
ΔE00 4.48
Indigo Blue
#3A18B1
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 5.66
Royal Blue (survey)
#0504AA
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24299F #9F9A24
analogous
#24669F #24299F #5C249F
triadic
#24299F #9F2429 #299F24
tetradic
#24299F #9F2466 #9F9A24 #249F5C
square
#24299F #9F2466 #9F9A24 #249F5C
split-complementary
#24299F #9F5C24 #669F24
monochromatic
#0D0F3B #191C6D #24299F #3037D0 #6267DB
Accessibility & contrast
On white
11.09
#24299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#24299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24299F
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24299F | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #24299f; /* rgb */ color: rgb(36, 41, 159); /* oklch */ color: oklch(37.1% 0.185 271.3);
Tailwind
colors: {
custom: {
50: '#7464bd',
500: '#24299f',
950: '#000000',
},
}SCSS
$custom: #24299f; $custom-light: #7464bd; $custom-dark: #000000;
JSON
{
"hex": "#24299f",
"rgb": {
"r": 36,
"g": 41,
"b": 159
},
"hsl": {
"h": 237.561,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.3714,
"c": 0.18456,
"h": 271.3
},
"luminance": 0.04464
}Semantic roles & 50–950 ramp
primary
#24299F
secondary
#C1BD5E
accent
#DF42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81