#151C7E#151C7E
#151C7E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.160 H 269.5°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #151C7E |
|---|---|
| RGB | rgb(21, 28, 126) |
| HSL | hsl(236, 71%, 29%) |
| HSV | hsv(236, 83%, 49%) |
| CMYK | cmyk(83.3%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(17.90, 34.62, -55.20) |
| CIE-LCH | lch(17.90, 65.16, 302.09°) |
| OKLab | oklab(30.68% -0.0015 -0.1599) |
| OKLCH | oklch(30.68% 0.16 269.5) |
| XYZ | xyz(4.4891, 2.4958, 19.9798) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.28
Royal
#0C1793
ΔE00 3.38
Dark Royal Blue
#02066F
ΔE00 4.96
Navy
#000080
ΔE00 5.29
Darkblue
#00008B
ΔE00 5.35
Deep Blue
#040273
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151C7E #7E7715
analogous
#15517E #151C7E #43157E
triadic
#151C7E #7E151C #1C7E15
tetradic
#151C7E #7E1551 #7E7715 #157E43
square
#151C7E #7E1551 #7E7715 #157E43
split-complementary
#151C7E #7E4315 #517E15
monochromatic
#04061A #0C104A #151C7E #1E28B2 #313CDD
Accessibility & contrast
On white
14.01
#151C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#151C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151C7E
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151C7E | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #151c7e; /* rgb */ color: rgb(21, 28, 126); /* oklch */ color: oklch(30.7% 0.160 269.5);
Tailwind
colors: {
custom: {
50: '#6859a5',
500: '#151c7e',
950: '#000000',
},
}SCSS
$custom: #151c7e; $custom-light: #6859a5; $custom-dark: #000000;
JSON
{
"hex": "#151c7e",
"rgb": {
"r": 21,
"g": 28,
"b": 126
},
"hsl": {
"h": 236,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.30678,
"c": 0.15994,
"h": 269.5
},
"luminance": 0.02496
}Semantic roles & 50–950 ramp
primary
#151C7E
secondary
#B3AB3C
accent
#E23AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F