#24286F#24286F
#24286F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.121 H 274.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #24286F |
|---|---|
| RGB | rgb(36, 40, 111) |
| HSL | hsl(237, 51%, 29%) |
| HSV | hsv(237, 68%, 44%) |
| CMYK | cmyk(67.6%, 64%, 0%, 56.5%) |
| CIE-LAB | lab(20.20, 22.86, -41.77) |
| CIE-LCH | lch(20.20, 47.62, 298.70°) |
| OKLab | oklab(32.13% 0.0102 -0.1203) |
| OKLCH | oklch(32.13% 0.121 274.8) |
| XYZ | xyz(4.3546, 3.0400, 15.3931) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.51
Marine
#042E60
ΔE00 6.90
Royal
#0C1793
ΔE00 7.87
Darkslateblue
#483D8B
ΔE00 8.01
Navy Blue
#1B2A4A
ΔE00 8.24
Darkblue (survey)
#030764
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24286F #6F6B24
analogous
#244E6F #24286F #46246F
triadic
#24286F #6F2428 #286F24
tetradic
#24286F #6F244E #6F6B24 #246F46
square
#24286F #6F244E #6F6B24 #246F46
split-complementary
#24286F #6F4624 #4E6F24
monochromatic
#070817 #151741 #24286F #33399D #4950C4
Accessibility & contrast
On white
13.06
#24286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#24286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24286F
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24286F | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #24286f; /* rgb */ color: rgb(36, 40, 111); /* oklch */ color: oklch(32.1% 0.121 274.8);
Tailwind
colors: {
custom: {
50: '#696299',
500: '#24286f',
950: '#000000',
},
}SCSS
$custom: #24286f; $custom-light: #696299; $custom-dark: #000000;
JSON
{
"hex": "#24286f",
"rgb": {
"r": 36,
"g": 40,
"b": 111
},
"hsl": {
"h": 236.8,
"s": 51.02,
"l": 28.824
},
"oklch": {
"l": 0.32129,
"c": 0.12073,
"h": 274.8
},
"luminance": 0.0304
}Semantic roles & 50–950 ramp
primary
#24286F
secondary
#A29D4D
accent
#D34DDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E