#151479#151479
#151479 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.161 H 270.7°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #151479 |
|---|---|
| RGB | rgb(21, 20, 121) |
| HSL | hsl(241, 72%, 28%) |
| HSV | hsv(241, 83%, 47%) |
| CMYK | cmyk(82.6%, 83.5%, 0%, 52.5%) |
| CIE-LAB | lab(15.69, 37.44, -55.66) |
| CIE-LCH | lch(15.69, 67.08, 303.93°) |
| OKLab | oklab(28.95% 0.002 -0.1611) |
| OKLCH | oklch(28.95% 0.161 270.7) |
| XYZ | xyz(4.0094, 2.0398, 18.2679) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.09
Dark Royal Blue
#02066F
ΔE00 3.07
Deep Blue
#040273
ΔE00 3.43
Navy
#000080
ΔE00 3.63
Royal
#0C1793
ΔE00 3.80
Darkblue (survey)
#030764
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151479 #787914
analogous
#144579 #151479 #471479
triadic
#151479 #791514 #147915
tetradic
#151479 #791445 #787914 #147947
square
#151479 #791445 #787914 #147947
split-complementary
#151479 #794714 #457914
monochromatic
#05041A #0C0B44 #151479 #1E1DAE #2D2BDC
Accessibility & contrast
On white
14.91
#151479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#151479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151479
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151479 | 1.00 | 14.91 | 1.41 | 14.91 |
| #FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #151479; /* rgb */ color: rgb(21, 20, 121); /* oklch */ color: oklch(28.9% 0.161 270.7);
Tailwind
colors: {
custom: {
50: '#6854a1',
500: '#151479',
950: '#000000',
},
}SCSS
$custom: #151479; $custom-light: #6854a1; $custom-dark: #000000;
JSON
{
"hex": "#151479",
"rgb": {
"r": 21,
"g": 20,
"b": 121
},
"hsl": {
"h": 240.594,
"s": 71.631,
"l": 27.647
},
"oklch": {
"l": 0.28949,
"c": 0.16116,
"h": 270.7
},
"luminance": 0.0204
}Semantic roles & 50–950 ramp
primary
#151479
secondary
#AEAF3A
accent
#EE39ED
background
#F6F5FA
surface
#ECE8F3
border
#C7C4CD
text
#07030F
muted
#7A787F