#24309F#24309F
#24309F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.177 H 270.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #24309F |
|---|---|
| RGB | rgb(36, 48, 159) |
| HSL | hsl(234, 63%, 38%) |
| HSV | hsv(234, 77%, 62%) |
| CMYK | cmyk(77.4%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.71, 35.40, -61.16) |
| CIE-LCH | lch(26.71, 70.66, 300.06°) |
| OKLab | oklab(38.26% 0.0007 -0.177) |
| OKLCH | oklch(38.26% 0.177 270.2) |
| XYZ | xyz(8.0404, 4.9913, 33.3338) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.73
Royal
#0C1793
ΔE00 6.19
Blueberry
#464196
ΔE00 6.33
Indigo Blue
#3A18B1
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 7.00
Blue Blue
#2242C7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24309F #9F9324
analogous
#246D9F #24309F #55249F
triadic
#24309F #9F2430 #309F24
tetradic
#24309F #9F246D #9F9324 #249F55
square
#24309F #9F246D #9F9324 #249F55
split-complementary
#24309F #9F5524 #6D9F24
monochromatic
#0D123B #19216D #24309F #3040D0 #626EDB
Accessibility & contrast
On white
10.51
#24309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#24309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24309F
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24309F | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #24309f; /* rgb */ color: rgb(36, 48, 159); /* oklch */ color: oklch(38.3% 0.177 270.2);
Tailwind
colors: {
custom: {
50: '#7469bc',
500: '#24309f',
950: '#000000',
},
}SCSS
$custom: #24309f; $custom-light: #7469bc; $custom-dark: #000000;
JSON
{
"hex": "#24309f",
"rgb": {
"r": 36,
"g": 48,
"b": 159
},
"hsl": {
"h": 234.146,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.38262,
"c": 0.17702,
"h": 270.2
},
"luminance": 0.04992
}Semantic roles & 50–950 ramp
primary
#24309F
secondary
#C1B75E
accent
#D642E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81