#15247C#15247C
#15247C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.148 H 268.2°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #15247C |
|---|---|
| RGB | rgb(21, 36, 124) |
| HSL | hsl(231, 71%, 28%) |
| HSV | hsv(231, 83%, 49%) |
| CMYK | cmyk(83.1%, 71%, 0%, 51.4%) |
| CIE-LAB | lab(19.54, 28.72, -51.22) |
| CIE-LCH | lch(19.54, 58.73, 299.28°) |
| OKLab | oklab(31.79% -0.0046 -0.1484) |
| OKLCH | oklch(31.79% 0.148 268.2) |
| XYZ | xyz(4.5770, 2.8759, 19.3787) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.46
Royal
#0C1793
ΔE00 5.14
Dark Royal Blue
#02066F
ΔE00 7.08
Darkblue (survey)
#030764
ΔE00 7.48
Deep Blue
#040273
ΔE00 7.64
Navy
#000080
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15247C #7C6D15
analogous
#15577C #15247C #39157C
triadic
#15247C #7C1524 #247C15
tetradic
#15247C #7C1557 #7C6D15 #157C39
square
#15247C #7C1557 #7C6D15 #157C39
split-complementary
#15247C #7C3915 #577C15
monochromatic
#04081A #0C1548 #15247C #1E33B0 #3049DC
Accessibility & contrast
On white
13.33
#15247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#15247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15247C
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15247C | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #15247c; /* rgb */ color: rgb(21, 36, 124); /* oklch */ color: oklch(31.8% 0.148 268.2);
Tailwind
colors: {
custom: {
50: '#675fa3',
500: '#15247c',
950: '#000000',
},
}SCSS
$custom: #15247c; $custom-light: #675fa3; $custom-dark: #000000;
JSON
{
"hex": "#15247c",
"rgb": {
"r": 21,
"g": 36,
"b": 124
},
"hsl": {
"h": 231.262,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.31791,
"c": 0.14845,
"h": 268.2
},
"luminance": 0.02876
}Semantic roles & 50–950 ramp
primary
#15247C
secondary
#B1A03C
accent
#D43AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F