#15257E#15257E
#15257E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.150 H 268.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #15257E |
|---|---|
| RGB | rgb(21, 37, 126) |
| HSL | hsl(231, 71%, 29%) |
| HSV | hsv(231, 83%, 49%) |
| CMYK | cmyk(83.3%, 70.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.00, 28.82, -51.74) |
| CIE-LCH | lch(20.00, 59.23, 299.12°) |
| OKLab | oklab(32.19% -0.0052 -0.1499) |
| OKLCH | oklch(32.19% 0.15 268) |
| XYZ | xyz(4.7354, 2.9884, 20.0619) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.81
Royal
#0C1793
ΔE00 5.10
Dark Royal Blue
#02066F
ΔE00 7.37
Darkblue (survey)
#030764
ΔE00 7.82
Marine
#042E60
ΔE00 7.83
Darkblue
#00008B
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15257E #7E6E15
analogous
#155A7E #15257E #3A157E
triadic
#15257E #7E1525 #257E15
tetradic
#15257E #7E155A #7E6E15 #157E3A
square
#15257E #7E155A #7E6E15 #157E3A
split-complementary
#15257E #7E3A15 #5A7E15
monochromatic
#04081A #0C164A #15257E #1E34B2 #314BDD
Accessibility & contrast
On white
13.14
#15257E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#15257E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15257E
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15257E | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #15257e; /* rgb */ color: rgb(21, 37, 126); /* oklch */ color: oklch(32.2% 0.150 268.0);
Tailwind
colors: {
custom: {
50: '#675fa4',
500: '#15257e',
950: '#000000',
},
}SCSS
$custom: #15257e; $custom-light: #675fa4; $custom-dark: #000000;
JSON
{
"hex": "#15257e",
"rgb": {
"r": 21,
"g": 37,
"b": 126
},
"hsl": {
"h": 230.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.32186,
"c": 0.14997,
"h": 268
},
"luminance": 0.02989
}Semantic roles & 50–950 ramp
primary
#15257E
secondary
#B3A13C
accent
#D33AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F