#151979#151979
#151979 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.157 H 270.2°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #151979 |
|---|---|
| RGB | rgb(21, 25, 121) |
| HSL | hsl(238, 70%, 28%) |
| HSV | hsv(238, 83%, 47%) |
| CMYK | cmyk(82.6%, 79.3%, 0%, 52.5%) |
| CIE-LAB | lab(16.67, 34.62, -54.04) |
| CIE-LCH | lch(16.67, 64.18, 302.64°) |
| OKLab | oklab(29.64% 0.0004 -0.1565) |
| OKLCH | oklch(29.64% 0.157 270.2) |
| XYZ | xyz(4.1069, 2.2347, 18.3003) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.51
Royal
#0C1793
ΔE00 3.90
Dark Royal Blue
#02066F
ΔE00 4.09
Deep Blue
#040273
ΔE00 4.58
Navy
#000080
ΔE00 4.78
Darkblue (survey)
#030764
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151979 #797515
analogous
#154B79 #151979 #431579
triadic
#151979 #791519 #197915
tetradic
#151979 #79154B #797515 #157943
square
#151979 #79154B #797515 #157943
split-complementary
#151979 #794315 #4B7915
monochromatic
#05051A #0C0E45 #151979 #1E24AD #2E35DB
Accessibility & contrast
On white
14.51
#151979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#151979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151979
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151979 | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #151979; /* rgb */ color: rgb(21, 25, 121); /* oklch */ color: oklch(29.6% 0.157 270.2);
Tailwind
colors: {
custom: {
50: '#6757a1',
500: '#151979',
950: '#000000',
},
}SCSS
$custom: #151979; $custom-light: #6757a1; $custom-dark: #000000;
JSON
{
"hex": "#151979",
"rgb": {
"r": 21,
"g": 25,
"b": 121
},
"hsl": {
"h": 237.6,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.29636,
"c": 0.15652,
"h": 270.2
},
"luminance": 0.02235
}Semantic roles & 50–950 ramp
primary
#151979
secondary
#AFAA3B
accent
#E63BED
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F