#24338F#24338F
#24338F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.152 H 270.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #24338F |
|---|---|
| RGB | rgb(36, 51, 143) |
| HSL | hsl(232, 60%, 35%) |
| HSV | hsv(232, 75%, 56%) |
| CMYK | cmyk(74.8%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(25.94, 27.49, -52.61) |
| CIE-LCH | lch(25.94, 59.36, 297.59°) |
| OKLab | oklab(37.24% 0.0001 -0.152) |
| OKLCH | oklch(37.24% 0.152 270) |
| XYZ | xyz(6.8676, 4.7252, 26.5314) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Blueberry
#464196
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.06
Royal
#0C1793
ΔE00 7.36
Cobalt
#0047AB
ΔE00 7.74
Cobalt (survey)
#1E488F
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24338F #8F8024
analogous
#24688F #24338F #4B248F
triadic
#24338F #8F2433 #338F24
tetradic
#24338F #8F2468 #8F8024 #248F4B
square
#24338F #8F2468 #8F8024 #248F4B
split-complementary
#24338F #8F4B24 #688F24
monochromatic
#0B102D #18225E #24338F #3044C0 #586AD5
Accessibility & contrast
On white
10.80
#24338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#24338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24338F
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24338F | 1.00 | 10.80 | 1.95 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #24338f; /* rgb */ color: rgb(36, 51, 143); /* oklch */ color: oklch(37.2% 0.152 270.0);
Tailwind
colors: {
custom: {
50: '#6f6ab1',
500: '#24338f',
950: '#000000',
},
}SCSS
$custom: #24338f; $custom-light: #6f6ab1; $custom-dark: #000000;
JSON
{
"hex": "#24338f",
"rgb": {
"r": 36,
"g": 51,
"b": 143
},
"hsl": {
"h": 231.589,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.37237,
"c": 0.15202,
"h": 270
},
"luminance": 0.04726
}Semantic roles & 50–950 ramp
primary
#24338F
secondary
#B9AB55
accent
#CD45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80