#15408C#15408C
#15408C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.135 H 260.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #15408C |
|---|---|
| RGB | rgb(21, 64, 140) |
| HSL | hsl(218, 74%, 32%) |
| HSV | hsv(218, 85%, 55%) |
| CMYK | cmyk(85%, 54.3%, 0%, 45.1%) |
| CIE-LAB | lab(28.69, 15.69, -46.30) |
| CIE-LCH | lch(28.69, 48.89, 288.72°) |
| OKLab | oklab(39.06% -0.0214 -0.1335) |
| OKLCH | oklch(39.06% 0.135 260.9) |
| XYZ | xyz(6.8746, 5.7188, 25.5474) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.57
Darkish Blue
#014182
ΔE00 2.69
Twilight Blue
#0A437A
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.42
Prussian Blue
#004577
ΔE00 5.38
Marine Blue
#01386A
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15408C #8C6115
analogous
#157C8C #15408C #25158C
triadic
#15408C #8C1540 #408C15
tetradic
#15408C #8C157C #8C6115 #158C25
square
#15408C #8C157C #8C6115 #158C25
split-complementary
#15408C #8C2515 #7C8C15
monochromatic
#050F22 #0D2857 #15408C #1D58C1 #3A76E1
Accessibility & contrast
On white
9.79
#15408C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#15408C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15408C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15408C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15408C | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05498F
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #15408c; /* rgb */ color: rgb(21, 64, 140); /* oklch */ color: oklch(39.1% 0.135 260.9);
Tailwind
colors: {
custom: {
50: '#6974ae',
500: '#15408c',
950: '#000000',
},
}SCSS
$custom: #15408c; $custom-light: #6974ae; $custom-dark: #000000;
JSON
{
"hex": "#15408c",
"rgb": {
"r": 21,
"g": 64,
"b": 140
},
"hsl": {
"h": 218.319,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.39057,
"c": 0.13525,
"h": 260.9
},
"luminance": 0.0572
}Semantic roles & 50–950 ramp
primary
#15408C
secondary
#C0913D
accent
#AE37F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F