#24307F#24307F
#24307F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.133 H 271.2°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #24307F |
|---|---|
| RGB | rgb(36, 48, 127) |
| HSL | hsl(232, 56%, 32%) |
| HSV | hsv(232, 72%, 50%) |
| CMYK | cmyk(71.7%, 62.2%, 0%, 50.2%) |
| CIE-LAB | lab(23.74, 23.43, -46.21) |
| CIE-LCH | lch(23.74, 51.81, 296.88°) |
| OKLab | oklab(35.18% 0.0028 -0.1333) |
| OKLCH | oklch(35.18% 0.133 271.2) |
| XYZ | xyz(5.6140, 4.0207, 20.5548) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.40
Midnight Blue
#191970
ΔE00 6.61
Sapphire (survey)
#2138AB
ΔE00 6.65
Marine
#042E60
ΔE00 6.81
Blueberry
#464196
ΔE00 6.86
Royal
#0C1793
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24307F #7F7324
analogous
#245E7F #24307F #46247F
triadic
#24307F #7F2430 #307F24
tetradic
#24307F #7F245E #7F7324 #247F46
square
#24307F #7F245E #7F7324 #247F46
split-complementary
#24307F #7F4624 #5E7F24
monochromatic
#090C20 #161E4F #24307F #3242AF #5061CD
Accessibility & contrast
On white
11.64
#24307F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#24307F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24307F
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24307F | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #24307f; /* rgb */ color: rgb(36, 48, 127); /* oklch */ color: oklch(35.2% 0.133 271.2);
Tailwind
colors: {
custom: {
50: '#6c68a5',
500: '#24307f',
950: '#000000',
},
}SCSS
$custom: #24307f; $custom-light: #6c68a5; $custom-dark: #000000;
JSON
{
"hex": "#24307f",
"rgb": {
"r": 36,
"g": 48,
"b": 127
},
"hsl": {
"h": 232.088,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.35177,
"c": 0.13331,
"h": 271.2
},
"luminance": 0.04021
}Semantic roles & 50–950 ramp
primary
#24307F
secondary
#B1A44E
accent
#CB49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F