#151779#151779
#151779 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.158 H 270.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #151779 |
|---|---|
| RGB | rgb(21, 23, 121) |
| HSL | hsl(239, 70%, 28%) |
| HSV | hsv(239, 83%, 47%) |
| CMYK | cmyk(82.6%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(16.27, 35.78, -54.71) |
| CIE-LCH | lch(16.27, 65.38, 303.19°) |
| OKLab | oklab(29.35% 0.0011 -0.1584) |
| OKLCH | oklch(29.35% 0.158 270.4) |
| XYZ | xyz(4.0657, 2.1522, 18.2866) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.67
Dark Royal Blue
#02066F
ΔE00 3.65
Royal
#0C1793
ΔE00 3.81
Deep Blue
#040273
ΔE00 4.09
Navy
#000080
ΔE00 4.30
Darkblue (survey)
#030764
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151779 #797715
analogous
#154979 #151779 #451579
triadic
#151779 #791517 #177915
tetradic
#151779 #791549 #797715 #157945
square
#151779 #791549 #797715 #157945
split-complementary
#151779 #794515 #497915
monochromatic
#05051A #0C0D45 #151779 #1E21AD #2E31DB
Accessibility & contrast
On white
14.68
#151779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#151779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151779
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151779 | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #151779; /* rgb */ color: rgb(21, 23, 121); /* oklch */ color: oklch(29.3% 0.158 270.4);
Tailwind
colors: {
custom: {
50: '#6756a1',
500: '#151779',
950: '#000000',
},
}SCSS
$custom: #151779; $custom-light: #6756a1; $custom-dark: #000000;
JSON
{
"hex": "#151779",
"rgb": {
"r": 21,
"g": 23,
"b": 121
},
"hsl": {
"h": 238.8,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.2935,
"c": 0.15845,
"h": 270.4
},
"luminance": 0.02153
}Semantic roles & 50–950 ramp
primary
#151779
secondary
#AFAC3B
accent
#EA3BED
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F