#151B71#151B71
#151B71 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.144 H 270.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #151B71 |
|---|---|
| RGB | rgb(21, 27, 113) |
| HSL | hsl(236, 69%, 26%) |
| HSV | hsv(236, 81%, 44%) |
| CMYK | cmyk(81.4%, 76.1%, 0%, 55.7%) |
| CIE-LAB | lab(16.18, 30.45, -49.70) |
| CIE-LCH | lch(16.18, 58.29, 301.50°) |
| OKLab | oklab(29.01% 0.001 -0.1439) |
| OKLCH | oklch(29.01% 0.144 270.4) |
| XYZ | xyz(3.6808, 2.1351, 15.8377) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.79
Dark Royal Blue
#02066F
ΔE00 4.66
Darkblue (survey)
#030764
ΔE00 4.78
Royal
#0C1793
ΔE00 5.36
Deep Blue
#040273
ΔE00 5.37
Navy
#000080
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151B71 #716B15
analogous
#154971 #151B71 #3D1571
triadic
#151B71 #71151B #1B7115
tetradic
#151B71 #711549 #716B15 #15713D
square
#151B71 #711549 #716B15 #15713D
split-complementary
#151B71 #713D15 #497115
monochromatic
#05061A #0B0F3D #151B71 #1F27A5 #2935D7
Accessibility & contrast
On white
14.71
#151B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#151B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151B71
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151B71 | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #151b71; /* rgb */ color: rgb(21, 27, 113); /* oklch */ color: oklch(29.0% 0.144 270.4);
Tailwind
colors: {
custom: {
50: '#65589b',
500: '#151b71',
950: '#000000',
},
}SCSS
$custom: #151b71; $custom-light: #65589b; $custom-dark: #000000;
JSON
{
"hex": "#151b71",
"rgb": {
"r": 21,
"g": 27,
"b": 113
},
"hsl": {
"h": 236.087,
"s": 68.657,
"l": 26.275
},
"oklch": {
"l": 0.29011,
"c": 0.14392,
"h": 270.4
},
"luminance": 0.02136
}Semantic roles & 50–950 ramp
primary
#151B71
secondary
#A7A03B
accent
#E03CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E