#151C80#151C80
#151C80 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.163 H 269.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #151C80 |
|---|---|
| RGB | rgb(21, 28, 128) |
| HSL | hsl(236, 72%, 29%) |
| HSV | hsv(236, 84%, 50%) |
| CMYK | cmyk(83.6%, 78.1%, 0%, 49.8%) |
| CIE-LAB | lab(18.13, 35.34, -56.09) |
| CIE-LCH | lch(18.13, 66.29, 302.22°) |
| OKLab | oklab(30.91% -0.0018 -0.1625) |
| OKLCH | oklch(30.91% 0.163 269.4) |
| XYZ | xyz(4.6195, 2.5479, 20.6662) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.56
Royal
#0C1793
ΔE00 3.08
Dark Royal Blue
#02066F
ΔE00 5.05
Darkblue
#00008B
ΔE00 5.19
Navy
#000080
ΔE00 5.22
Deep Blue
#040273
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151C80 #807915
analogous
#155280 #151C80 #441580
triadic
#151C80 #80151C #1C8015
tetradic
#151C80 #801552 #807915 #158044
square
#151C80 #801552 #807915 #158044
split-complementary
#151C80 #804415 #528015
monochromatic
#04061A #0C104B #151C80 #1E28B5 #323DDD
Accessibility & contrast
On white
13.91
#151C80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#151C80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151C80
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151C80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151C80 | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #151c80; /* rgb */ color: rgb(21, 28, 128); /* oklch */ color: oklch(30.9% 0.163 269.4);
Tailwind
colors: {
custom: {
50: '#6959a6',
500: '#151c80',
950: '#000000',
},
}SCSS
$custom: #151c80; $custom-light: #6959a6; $custom-dark: #000000;
JSON
{
"hex": "#151c80",
"rgb": {
"r": 21,
"g": 28,
"b": 128
},
"hsl": {
"h": 236.075,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.30913,
"c": 0.1625,
"h": 269.4
},
"luminance": 0.02548
}Semantic roles & 50–950 ramp
primary
#151C80
secondary
#B5AD3C
accent
#E339EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F