#24478C#24478C
#24478C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.122 H 262.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #24478C |
|---|---|
| RGB | rgb(36, 71, 140) |
| HSL | hsl(220, 59%, 35%) |
| HSV | hsv(220, 74%, 55%) |
| CMYK | cmyk(74.3%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.29, 12.64, -42.08) |
| CIE-LCH | lch(31.29, 43.94, 286.72°) |
| OKLab | oklab(41.19% -0.0165 -0.1208) |
| OKLCH | oklch(41.19% 0.122 262.2) |
| XYZ | xyz(7.7127, 6.7742, 25.7069) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.93
Darkish Blue
#014182
ΔE00 3.37
Twilight Blue
#0A437A
ΔE00 4.01
Cobalt
#0047AB
ΔE00 4.21
Dusk Blue
#26538D
ΔE00 4.40
Prussian Blue
#004577
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24478C #8C6924
analogous
#247B8C #24478C #35248C
triadic
#24478C #8C2447 #478C24
tetradic
#24478C #8C247B #8C6924 #248C35
square
#24478C #8C247B #8C6924 #248C35
split-complementary
#24478C #8C3524 #7B8C24
monochromatic
#0B162B #172E5B #24478C #3160BD #5781D4
Accessibility & contrast
On white
8.92
#24478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#24478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24478C
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24478C | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#03458B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #24478c; /* rgb */ color: rgb(36, 71, 140); /* oklch */ color: oklch(41.2% 0.122 262.2);
Tailwind
colors: {
custom: {
50: '#6d79ae',
500: '#24478c',
950: '#000000',
},
}SCSS
$custom: #24478c; $custom-light: #6d79ae; $custom-dark: #000000;
JSON
{
"hex": "#24478c",
"rgb": {
"r": 36,
"g": 71,
"b": 140
},
"hsl": {
"h": 219.808,
"s": 59.091,
"l": 34.51
},
"oklch": {
"l": 0.41188,
"c": 0.12188,
"h": 262.2
},
"luminance": 0.06775
}Semantic roles & 50–950 ramp
primary
#24478C
secondary
#B89654
accent
#AE46E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F