#151B7F#151B7F
#151B7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.162 H 269.5°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #151B7F |
|---|---|
| RGB | rgb(21, 27, 127) |
| HSL | hsl(237, 72%, 29%) |
| HSV | hsv(237, 83%, 50%) |
| CMYK | cmyk(83.5%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.81, 35.58, -55.99) |
| CIE-LCH | lch(17.81, 66.34, 302.43°) |
| OKLab | oklab(30.65% -0.0013 -0.1622) |
| OKLCH | oklch(30.65% 0.162 269.5) |
| XYZ | xyz(4.5306, 2.4751, 20.3135) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 3.12
Dark Royal Blue
#02066F
ΔE00 4.78
Navy
#000080
ΔE00 4.99
Darkblue
#00008B
ΔE00 5.02
Deep Blue
#040273
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151B7F #7F7915
analogous
#15507F #151B7F #44157F
triadic
#151B7F #7F151B #1B7F15
tetradic
#151B7F #7F1550 #7F7915 #157F44
square
#151B7F #7F1550 #7F7915 #157F44
split-complementary
#151B7F #7F4415 #507F15
monochromatic
#04061A #0C104A #151B7F #1E26B4 #313BDD
Accessibility & contrast
On white
14.04
#151B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#151B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151B7F
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151B7F | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #151b7f; /* rgb */ color: rgb(21, 27, 127); /* oklch */ color: oklch(30.6% 0.162 269.5);
Tailwind
colors: {
custom: {
50: '#6959a5',
500: '#151b7f',
950: '#000000',
},
}SCSS
$custom: #151b7f; $custom-light: #6959a5; $custom-dark: #000000;
JSON
{
"hex": "#151b7f",
"rgb": {
"r": 21,
"g": 27,
"b": 127
},
"hsl": {
"h": 236.604,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.30646,
"c": 0.16223,
"h": 269.5
},
"luminance": 0.02476
}Semantic roles & 50–950 ramp
primary
#151B7F
secondary
#B4AD3C
accent
#E439EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F