#15147B#15147B
#15147B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.164 H 270.5°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #15147B |
|---|---|
| RGB | rgb(21, 20, 123) |
| HSL | hsl(241, 72%, 28%) |
| HSV | hsv(241, 84%, 48%) |
| CMYK | cmyk(82.9%, 83.7%, 0%, 51.8%) |
| CIE-LAB | lab(15.95, 38.12, -56.52) |
| CIE-LCH | lch(15.95, 68.17, 304.00°) |
| OKLab | oklab(29.2% 0.0015 -0.1636) |
| OKLCH | oklch(29.2% 0.164 270.5) |
| XYZ | xyz(4.1334, 2.0893, 18.9205) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.34
Dark Royal Blue
#02066F
ΔE00 3.20
Deep Blue
#040273
ΔE00 3.48
Royal
#0C1793
ΔE00 3.50
Navy
#000080
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15147B #7A7B14
analogous
#14467B #15147B #49147B
triadic
#15147B #7B1514 #147B15
tetradic
#15147B #7B1446 #7A7B14 #147B49
square
#15147B #7B1446 #7A7B14 #147B49
split-complementary
#15147B #7B4914 #467B14
monochromatic
#04041A #0C0B46 #15147B #1E1DB0 #2E2DDD
Accessibility & contrast
On white
14.81
#15147B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#15147B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15147B
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15147B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15147B | 1.00 | 14.81 | 1.42 | 14.81 |
| #FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #15147b; /* rgb */ color: rgb(21, 20, 123); /* oklch */ color: oklch(29.2% 0.164 270.5);
Tailwind
colors: {
custom: {
50: '#6854a2',
500: '#15147b',
950: '#000000',
},
}SCSS
$custom: #15147b; $custom-light: #6854a2; $custom-dark: #000000;
JSON
{
"hex": "#15147b",
"rgb": {
"r": 21,
"g": 20,
"b": 123
},
"hsl": {
"h": 240.583,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.292,
"c": 0.16364,
"h": 270.5
},
"luminance": 0.0209
}Semantic roles & 50–950 ramp
primary
#15147B
secondary
#AFB13A
accent
#EF39ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F