#151975#151975
#151975 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.151 H 270.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).
Color values
| HEX | #151975 |
|---|---|
| RGB | rgb(21, 25, 117) |
| HSL | hsl(238, 70%, 27%) |
| HSV | hsv(238, 82%, 46%) |
| CMYK | cmyk(82.1%, 78.6%, 0%, 54.1%) |
| CIE-LAB | lab(16.20, 33.18, -52.25) |
| CIE-LCH | lch(16.20, 61.90, 302.41°) |
| OKLab | oklab(29.16% 0.0012 -0.1513) |
| OKLCH | oklch(29.16% 0.151 270.4) |
| XYZ | xyz(3.8667, 2.1386, 17.0352) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.90
Dark Royal Blue
#02066F
ΔE00 4.04
Darkblue (survey)
#030764
ΔE00 4.49
Royal
#0C1793
ΔE00 4.54
Deep Blue
#040273
ΔE00 4.64
Navy
#000080
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151975 #757115
analogous
#154975 #151975 #411575
triadic
#151975 #751519 #197515
tetradic
#151975 #751549 #757115 #157541
square
#151975 #751549 #757115 #157541
split-complementary
#151975 #754115 #497515
monochromatic
#05061A #0C0E41 #151975 #1E24A9 #2B33D9
Accessibility & contrast
On white
14.71
#151975 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#151975 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151975
14.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151975 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151975 | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #151975; /* rgb */ color: rgb(21, 25, 117); /* oklch */ color: oklch(29.2% 0.151 270.4);
Tailwind
colors: {
custom: {
50: '#66579e',
500: '#151975',
950: '#000000',
},
}SCSS
$custom: #151975; $custom-light: #66579e; $custom-dark: #000000;
JSON
{
"hex": "#151975",
"rgb": {
"r": 21,
"g": 25,
"b": 117
},
"hsl": {
"h": 237.5,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.29161,
"c": 0.15134,
"h": 270.4
},
"luminance": 0.02139
}Semantic roles & 50–950 ramp
primary
#151975
secondary
#ABA63B
accent
#E53BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E