#151F79#151F79
#151F79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.150 H 269.3°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #151F79 |
|---|---|
| RGB | rgb(21, 31, 121) |
| HSL | hsl(234, 70%, 28%) |
| HSV | hsv(234, 83%, 47%) |
| CMYK | cmyk(82.6%, 74.4%, 0%, 52.5%) |
| CIE-LAB | lab(18.01, 30.88, -51.84) |
| CIE-LCH | lch(18.01, 60.34, 300.78°) |
| OKLab | oklab(30.59% -0.0019 -0.1502) |
| OKLCH | oklch(30.59% 0.15 269.3) |
| XYZ | xyz(4.2493, 2.5194, 18.3478) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.08
Royal
#0C1793
ΔE00 4.57
Dark Royal Blue
#02066F
ΔE00 5.63
Darkblue (survey)
#030764
ΔE00 6.07
Deep Blue
#040273
ΔE00 6.20
Navy
#000080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151F79 #796F15
analogous
#155179 #151F79 #3D1579
triadic
#151F79 #79151F #1F7915
tetradic
#151F79 #791551 #796F15 #15793D
square
#151F79 #791551 #796F15 #15793D
split-complementary
#151F79 #793D15 #517915
monochromatic
#05071A #0C1245 #151F79 #1E2CAD #2E3FDB
Accessibility & contrast
On white
13.96
#151F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#151F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151F79
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151F79 | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #151f79; /* rgb */ color: rgb(21, 31, 121); /* oklch */ color: oklch(30.6% 0.150 269.3);
Tailwind
colors: {
custom: {
50: '#665ba1',
500: '#151f79',
950: '#000000',
},
}SCSS
$custom: #151f79; $custom-light: #665ba1; $custom-dark: #000000;
JSON
{
"hex": "#151f79",
"rgb": {
"r": 21,
"g": 31,
"b": 121
},
"hsl": {
"h": 234,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.30586,
"c": 0.15017,
"h": 269.3
},
"luminance": 0.0252
}Semantic roles & 50–950 ramp
primary
#151F79
secondary
#AFA33B
accent
#DB3BED
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F