#151A7C#151A7C
#151A7C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.159 H 269.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #151A7C |
|---|---|
| RGB | rgb(21, 26, 124) |
| HSL | hsl(237, 71%, 28%) |
| HSV | hsv(237, 83%, 49%) |
| CMYK | cmyk(83.1%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(17.24, 35.10, -55.02) |
| CIE-LCH | lch(17.24, 65.26, 302.53°) |
| OKLab | oklab(30.14% -0.0004 -0.1594) |
| OKLCH | oklch(30.14% 0.159 269.8) |
| XYZ | xyz(4.3155, 2.3530, 19.2916) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.94
Royal
#0C1793
ΔE00 3.49
Dark Royal Blue
#02066F
ΔE00 4.43
Deep Blue
#040273
ΔE00 4.84
Navy
#000080
ΔE00 4.86
Darkblue
#00008B
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151A7C #7C7715
analogous
#154D7C #151A7C #43157C
triadic
#151A7C #7C151A #1A7C15
tetradic
#151A7C #7C154D #7C7715 #157C43
square
#151A7C #7C154D #7C7715 #157C43
split-complementary
#151A7C #7C4315 #4D7C15
monochromatic
#04051A #0C0F48 #151A7C #1E25B0 #3038DC
Accessibility & contrast
On white
14.28
#151A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#151A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151A7C
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151A7C | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #151a7c; /* rgb */ color: rgb(21, 26, 124); /* oklch */ color: oklch(30.1% 0.159 269.8);
Tailwind
colors: {
custom: {
50: '#6858a3',
500: '#151a7c',
950: '#000000',
},
}SCSS
$custom: #151a7c; $custom-light: #6858a3; $custom-dark: #000000;
JSON
{
"hex": "#151a7c",
"rgb": {
"r": 21,
"g": 26,
"b": 124
},
"hsl": {
"h": 237.087,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.30142,
"c": 0.15938,
"h": 269.8
},
"luminance": 0.02353
}Semantic roles & 50–950 ramp
primary
#151A7C
secondary
#B1AC3C
accent
#E53AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F