#151A7F#151A7F
#151A7F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.163 H 269.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #151A7F |
|---|---|
| RGB | rgb(21, 26, 127) |
| HSL | hsl(237, 72%, 29%) |
| HSV | hsv(237, 83%, 50%) |
| CMYK | cmyk(83.5%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(17.60, 36.17, -56.34) |
| CIE-LCH | lch(17.60, 66.95, 302.70°) |
| OKLab | oklab(30.5% -0.001 -0.1632) |
| OKLCH | oklch(30.5% 0.163 269.6) |
| XYZ | xyz(4.5081, 2.4300, 20.3060) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.40
Royal
#0C1793
ΔE00 3.03
Dark Royal Blue
#02066F
ΔE00 4.57
Navy
#000080
ΔE00 4.74
Darkblue
#00008B
ΔE00 4.79
Deep Blue
#040273
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151A7F #7F7A15
analogous
#154F7F #151A7F #45157F
triadic
#151A7F #7F151A #1A7F15
tetradic
#151A7F #7F154F #7F7A15 #157F45
square
#151A7F #7F154F #7F7A15 #157F45
split-complementary
#151A7F #7F4515 #4F7F15
monochromatic
#04051A #0C0F4A #151A7F #1E25B4 #3139DD
Accessibility & contrast
On white
14.13
#151A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#151A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151A7F
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151A7F | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #151a7f; /* rgb */ color: rgb(21, 26, 127); /* oklch */ color: oklch(30.5% 0.163 269.6);
Tailwind
colors: {
custom: {
50: '#6958a5',
500: '#151a7f',
950: '#000000',
},
}SCSS
$custom: #151a7f; $custom-light: #6958a5; $custom-dark: #000000;
JSON
{
"hex": "#151a7f",
"rgb": {
"r": 21,
"g": 26,
"b": 127
},
"hsl": {
"h": 237.17,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.305,
"c": 0.1632,
"h": 269.6
},
"luminance": 0.02431
}Semantic roles & 50–950 ramp
primary
#151A7F
secondary
#B4AE3C
accent
#E639EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F