#15107E#15107E
#15107E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.1% C 0.170 H 270.6°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #15107E |
|---|---|
| RGB | rgb(21, 16, 126) |
| HSL | hsl(243, 77%, 28%) |
| HSV | hsv(243, 87%, 49%) |
| CMYK | cmyk(83.3%, 87.3%, 0%, 50.6%) |
| CIE-LAB | lab(15.67, 41.07, -58.89) |
| CIE-LCH | lch(15.67, 71.80, 304.89°) |
| OKLab | oklab(29.12% 0.0017 -0.1704) |
| OKLCH | oklch(29.12% 0.17 270.6) |
| XYZ | xyz(4.2592, 2.0359, 19.9031) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.65
Deep Blue
#040273
ΔE00 2.97
Dark Royal Blue
#02066F
ΔE00 2.97
Darkblue
#00008B
ΔE00 2.97
Royal
#0C1793
ΔE00 3.26
Midnight Blue
#191970
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15107E #797E10
analogous
#10427E #15107E #4C107E
triadic
#15107E #7E1510 #107E15
tetradic
#15107E #7E1042 #797E10 #107E4C
square
#15107E #7E1042 #797E10 #107E4C
split-complementary
#15107E #7E4C10 #427E10
monochromatic
#05031B #0C0948 #15107E #1E17B4 #2E25E3
Accessibility & contrast
On white
14.92
#15107E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#15107E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15107E
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15107E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15107E | 1.00 | 14.92 | 1.41 | 14.92 |
| #FFFFFF | 14.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C81
Deuteranopia (green-blind)
#00217C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #15107e; /* rgb */ color: rgb(21, 16, 126); /* oklch */ color: oklch(29.1% 0.170 270.6);
Tailwind
colors: {
custom: {
50: '#6953a5',
500: '#15107e',
950: '#000000',
},
}SCSS
$custom: #15107e; $custom-light: #6953a5; $custom-dark: #000000;
JSON
{
"hex": "#15107e",
"rgb": {
"r": 21,
"g": 16,
"b": 126
},
"hsl": {
"h": 242.727,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.29122,
"c": 0.17043,
"h": 270.6
},
"luminance": 0.02036
}Semantic roles & 50–950 ramp
primary
#15107E
secondary
#AFB436
accent
#F434EB
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08020F
muted
#7A787F