#24318F#24318F
#24318F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.155 H 270.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #24318F |
|---|---|
| RGB | rgb(36, 49, 143) |
| HSL | hsl(233, 60%, 35%) |
| HSV | hsv(233, 75%, 56%) |
| CMYK | cmyk(74.8%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(25.43, 28.83, -53.45) |
| CIE-LCH | lch(25.43, 60.73, 298.34°) |
| OKLab | oklab(36.86% 0.0014 -0.1545) |
| OKLCH | oklch(36.86% 0.155 270.5) |
| XYZ | xyz(6.7821, 4.5542, 26.5029) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.28
Blueberry
#464196
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.21
Royal
#0C1793
ΔE00 6.73
Midnight Blue
#191970
ΔE00 7.47
Cobalt
#0047AB
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24318F #8F8224
analogous
#24678F #24318F #4C248F
triadic
#24318F #8F2431 #318F24
tetradic
#24318F #8F2467 #8F8224 #248F4C
square
#24318F #8F2467 #8F8224 #248F4C
split-complementary
#24318F #8F4C24 #678F24
monochromatic
#0B0F2D #18205E #24318F #3042C0 #5868D5
Accessibility & contrast
On white
10.99
#24318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#24318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24318F
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24318F | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #24318f; /* rgb */ color: rgb(36, 49, 143); /* oklch */ color: oklch(36.9% 0.155 270.5);
Tailwind
colors: {
custom: {
50: '#7069b1',
500: '#24318f',
950: '#000000',
},
}SCSS
$custom: #24318f; $custom-light: #7069b1; $custom-dark: #000000;
JSON
{
"hex": "#24318f",
"rgb": {
"r": 36,
"g": 49,
"b": 143
},
"hsl": {
"h": 232.71,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.3686,
"c": 0.15451,
"h": 270.5
},
"luminance": 0.04555
}Semantic roles & 50–950 ramp
primary
#24318F
secondary
#B9AD55
accent
#D045E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80