#151A7E#151A7E
#151A7E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.162 H 269.7°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #151A7E |
|---|---|
| RGB | rgb(21, 26, 126) |
| HSL | hsl(237, 71%, 29%) |
| HSV | hsv(237, 83%, 49%) |
| CMYK | cmyk(83.3%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(17.48, 35.81, -55.90) |
| CIE-LCH | lch(17.48, 66.39, 302.65°) |
| OKLab | oklab(30.38% -0.0008 -0.1619) |
| OKLCH | oklch(30.38% 0.162 269.7) |
| XYZ | xyz(4.4433, 2.4041, 19.9645) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Royal
#0C1793
ΔE00 3.18
Dark Royal Blue
#02066F
ΔE00 4.52
Navy
#000080
ΔE00 4.78
Darkblue
#00008B
ΔE00 4.87
Deep Blue
#040273
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151A7E #7E7915
analogous
#154F7E #151A7E #45157E
triadic
#151A7E #7E151A #1A7E15
tetradic
#151A7E #7E154F #7E7915 #157E45
square
#151A7E #7E154F #7E7915 #157E45
split-complementary
#151A7E #7E4515 #4F7E15
monochromatic
#04051A #0C0F4A #151A7E #1E25B2 #3139DD
Accessibility & contrast
On white
14.18
#151A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#151A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151A7E
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151A7E | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #151a7e; /* rgb */ color: rgb(21, 26, 126); /* oklch */ color: oklch(30.4% 0.162 269.7);
Tailwind
colors: {
custom: {
50: '#6858a5',
500: '#151a7e',
950: '#000000',
},
}SCSS
$custom: #151a7e; $custom-light: #6858a5; $custom-dark: #000000;
JSON
{
"hex": "#151a7e",
"rgb": {
"r": 21,
"g": 26,
"b": 126
},
"hsl": {
"h": 237.143,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.30381,
"c": 0.16193,
"h": 269.7
},
"luminance": 0.02405
}Semantic roles & 50–950 ramp
primary
#151A7E
secondary
#B3AD3C
accent
#E63AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F