#151A8F#151A8F
#151A8F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.183 H 268.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #151A8F |
|---|---|
| RGB | rgb(21, 26, 143) |
| HSL | hsl(238, 74%, 32%) |
| HSV | hsv(238, 85%, 56%) |
| CMYK | cmyk(85.3%, 81.8%, 0%, 43.9%) |
| CIE-LAB | lab(19.56, 41.69, -63.15) |
| CIE-LCH | lch(19.56, 75.67, 303.43°) |
| OKLab | oklab(32.45% -0.004 -0.1829) |
| OKLCH | oklch(32.45% 0.183 268.8) |
| XYZ | xyz(5.6349, 2.8807, 26.2403) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.88
Cobalt Blue
#030AA7
ΔE00 3.89
Darkblue
#00008B
ΔE00 4.24
Royal Blue (survey)
#0504AA
ΔE00 4.49
Midnight Blue
#191970
ΔE00 4.75
Navy
#000080
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151A8F #8F8A15
analogous
#15578F #151A8F #4D158F
triadic
#151A8F #8F151A #1A8F15
tetradic
#151A8F #8F1557 #8F8A15 #158F4D
square
#151A8F #8F1557 #8F8A15 #158F4D
split-complementary
#151A8F #8F4D15 #578F15
monochromatic
#050724 #0D105A #151A8F #1D24C4 #3C43E2
Accessibility & contrast
On white
13.32
#151A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#151A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151A8F
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151A8F | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #151a8f; /* rgb */ color: rgb(21, 26, 143); /* oklch */ color: oklch(32.4% 0.183 268.8);
Tailwind
colors: {
custom: {
50: '#6d59b1',
500: '#151a8f',
950: '#000000',
},
}SCSS
$custom: #151a8f; $custom-light: #6d59b1; $custom-dark: #000000;
JSON
{
"hex": "#151a8f",
"rgb": {
"r": 21,
"g": 26,
"b": 143
},
"hsl": {
"h": 237.541,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.32445,
"c": 0.18297,
"h": 268.8
},
"luminance": 0.02881
}Semantic roles & 50–950 ramp
primary
#151A8F
secondary
#C2BD3E
accent
#E937F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980