#24339C#24339C
#24339C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.170 H 269.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #24339C |
|---|---|
| RGB | rgb(36, 51, 156) |
| HSL | hsl(233, 63%, 38%) |
| HSV | hsv(233, 77%, 61%) |
| CMYK | cmyk(76.9%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.14, 32.37, -58.63) |
| CIE-LCH | lch(27.14, 66.97, 298.90°) |
| OKLab | oklab(38.48% -0.0007 -0.1696) |
| OKLCH | oklch(38.48% 0.17 269.8) |
| XYZ | xyz(7.9101, 5.1422, 32.0217) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.53
Blue Blue
#2242C7
ΔE00 6.96
Royal
#0C1793
ΔE00 7.00
Ocean Blue
#4F42B5
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24339C #9C8D24
analogous
#246F9C #24339C #51249C
triadic
#24339C #9C2433 #339C24
tetradic
#24339C #9C246F #9C8D24 #249C51
square
#24339C #9C246F #9C8D24 #249C51
split-complementary
#24339C #9C5124 #6F9C24
monochromatic
#0D1239 #19236A #24339C #2F43CE #606FDA
Accessibility & contrast
On white
10.35
#24339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#24339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24339C
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24339C | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #24339c; /* rgb */ color: rgb(36, 51, 156); /* oklch */ color: oklch(38.5% 0.170 269.8);
Tailwind
colors: {
custom: {
50: '#736bba',
500: '#24339c',
950: '#000000',
},
}SCSS
$custom: #24339c; $custom-light: #736bba; $custom-dark: #000000;
JSON
{
"hex": "#24339c",
"rgb": {
"r": 36,
"g": 51,
"b": 156
},
"hsl": {
"h": 232.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.38484,
"c": 0.16963,
"h": 269.8
},
"luminance": 0.05143
}Semantic roles & 50–950 ramp
primary
#24339C
secondary
#BFB35C
accent
#D142E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81