#15107F#15107F
#15107F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.172 H 270.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #15107F |
|---|---|
| RGB | rgb(21, 16, 127) |
| HSL | hsl(243, 78%, 28%) |
| HSV | hsv(243, 87%, 50%) |
| CMYK | cmyk(83.5%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(15.81, 41.39, -59.31) |
| CIE-LCH | lch(15.81, 72.32, 304.91°) |
| OKLab | oklab(29.25% 0.0014 -0.1716) |
| OKLCH | oklch(29.25% 0.172 270.5) |
| XYZ | xyz(4.3240, 2.0618, 20.2446) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.64
Darkblue
#00008B
ΔE00 2.88
Deep Blue
#040273
ΔE00 3.05
Dark Royal Blue
#02066F
ΔE00 3.08
Royal
#0C1793
ΔE00 3.13
Midnight Blue
#191970
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15107F #7A7F10
analogous
#10427F #15107F #4C107F
triadic
#15107F #7F1510 #107F15
tetradic
#15107F #7F1042 #7A7F10 #107F4C
square
#15107F #7F1042 #7A7F10 #107F4C
split-complementary
#15107F #7F4C10 #427F10
monochromatic
#04031B #0C0949 #15107F #1E17B5 #2E26E4
Accessibility & contrast
On white
14.87
#15107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#15107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15107F
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15107F | 1.00 | 14.87 | 1.41 | 14.87 |
| #FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #15107f; /* rgb */ color: rgb(21, 16, 127); /* oklch */ color: oklch(29.3% 0.172 270.5);
Tailwind
colors: {
custom: {
50: '#6a53a5',
500: '#15107f',
950: '#000000',
},
}SCSS
$custom: #15107f; $custom-light: #6a53a5; $custom-dark: #000000;
JSON
{
"hex": "#15107f",
"rgb": {
"r": 21,
"g": 16,
"b": 127
},
"hsl": {
"h": 242.703,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.29252,
"c": 0.17162,
"h": 270.5
},
"luminance": 0.02062
}Semantic roles & 50–950 ramp
primary
#15107F
secondary
#AFB536
accent
#F434EB
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F