#151D7C#151D7C
#151D7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.156 H 269.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #151D7C |
|---|---|
| RGB | rgb(21, 29, 124) |
| HSL | hsl(235, 71%, 28%) |
| HSV | hsv(235, 83%, 49%) |
| CMYK | cmyk(83.1%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(17.89, 33.27, -53.95) |
| CIE-LCH | lch(17.89, 63.39, 301.66°) |
| OKLab | oklab(30.6% -0.0015 -0.1563) |
| OKLCH | oklch(30.6% 0.156 269.4) |
| XYZ | xyz(4.3855, 2.4929, 19.3149) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.08
Royal
#0C1793
ΔE00 3.81
Dark Royal Blue
#02066F
ΔE00 5.14
Deep Blue
#040273
ΔE00 5.61
Navy
#000080
ΔE00 5.65
Darkblue
#00008B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151D7C #7C7415
analogous
#15507C #151D7C #40157C
triadic
#151D7C #7C151D #1D7C15
tetradic
#151D7C #7C1550 #7C7415 #157C40
square
#151D7C #7C1550 #7C7415 #157C40
split-complementary
#151D7C #7C4015 #507C15
monochromatic
#04061A #0C1148 #151D7C #1E29B0 #303DDC
Accessibility & contrast
On white
14.01
#151D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#151D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151D7C
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151D7C | 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)
#00317F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #151d7c; /* rgb */ color: rgb(21, 29, 124); /* oklch */ color: oklch(30.6% 0.156 269.4);
Tailwind
colors: {
custom: {
50: '#685aa3',
500: '#151d7c',
950: '#000000',
},
}SCSS
$custom: #151d7c; $custom-light: #685aa3; $custom-dark: #000000;
JSON
{
"hex": "#151d7c",
"rgb": {
"r": 21,
"g": 29,
"b": 124
},
"hsl": {
"h": 235.34,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.30601,
"c": 0.15631,
"h": 269.4
},
"luminance": 0.02493
}Semantic roles & 50–950 ramp
primary
#151D7C
secondary
#B1A83C
accent
#E03AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F