#151B80#151B80
#151B80 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.164 H 269.5°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #151B80 |
|---|---|
| RGB | rgb(21, 27, 128) |
| HSL | hsl(237, 72%, 29%) |
| HSV | hsv(237, 84%, 50%) |
| CMYK | cmyk(83.6%, 78.9%, 0%, 49.8%) |
| CIE-LAB | lab(17.92, 35.93, -56.43) |
| CIE-LCH | lch(17.92, 66.90, 302.49°) |
| OKLab | oklab(30.76% -0.0015 -0.1635) |
| OKLCH | oklch(30.76% 0.164 269.5) |
| XYZ | xyz(4.5961, 2.5013, 20.6584) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 2.97
Dark Royal Blue
#02066F
ΔE00 4.84
Darkblue
#00008B
ΔE00 4.95
Navy
#000080
ΔE00 4.96
Deep Blue
#040273
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151B80 #807A15
analogous
#155080 #151B80 #451580
triadic
#151B80 #80151B #1B8015
tetradic
#151B80 #801550 #807A15 #158045
square
#151B80 #801550 #807A15 #158045
split-complementary
#151B80 #804515 #508015
monochromatic
#04061A #0C104B #151B80 #1E26B5 #323CDD
Accessibility & contrast
On white
14.00
#151B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#151B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151B80
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151B80 | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #151b80; /* rgb */ color: rgb(21, 27, 128); /* oklch */ color: oklch(30.8% 0.164 269.5);
Tailwind
colors: {
custom: {
50: '#6959a6',
500: '#151b80',
950: '#000000',
},
}SCSS
$custom: #151b80; $custom-light: #6959a6; $custom-dark: #000000;
JSON
{
"hex": "#151b80",
"rgb": {
"r": 21,
"g": 27,
"b": 128
},
"hsl": {
"h": 236.636,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.30765,
"c": 0.1635,
"h": 269.5
},
"luminance": 0.02502
}Semantic roles & 50–950 ramp
primary
#151B80
secondary
#B5AE3C
accent
#E439EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F