#151774#151774
#151774 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.152 H 270.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #151774 |
|---|---|
| RGB | rgb(21, 23, 116) |
| HSL | hsl(239, 69%, 27%) |
| HSV | hsv(239, 82%, 45%) |
| CMYK | cmyk(81.9%, 80.2%, 0%, 54.5%) |
| CIE-LAB | lab(15.66, 34.01, -52.50) |
| CIE-LCH | lch(15.66, 62.56, 302.94°) |
| OKLab | oklab(28.74% 0.0021 -0.152) |
| OKLCH | oklch(28.74% 0.152 270.8) |
| XYZ | xyz(3.7670, 2.0328, 16.7134) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.96
Dark Royal Blue
#02066F
ΔE00 3.55
Darkblue (survey)
#030764
ΔE00 4.03
Deep Blue
#040273
ΔE00 4.15
Royal
#0C1793
ΔE00 4.60
Navy
#000080
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151774 #747215
analogous
#154774 #151774 #431574
triadic
#151774 #741517 #177415
tetradic
#151774 #741547 #747215 #157443
square
#151774 #741547 #747215 #157443
split-complementary
#151774 #744315 #477415
monochromatic
#05051A #0C0D40 #151774 #1E21A8 #2B2ED9
Accessibility & contrast
On white
14.93
#151774 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#151774 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151774
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151774 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151774 | 1.00 | 14.93 | 1.41 | 14.93 |
| #FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #151774; /* rgb */ color: rgb(21, 23, 116); /* oklch */ color: oklch(28.7% 0.152 270.8);
Tailwind
colors: {
custom: {
50: '#66569d',
500: '#151774',
950: '#000000',
},
}SCSS
$custom: #151774; $custom-light: #66569d; $custom-dark: #000000;
JSON
{
"hex": "#151774",
"rgb": {
"r": 21,
"g": 23,
"b": 116
},
"hsl": {
"h": 238.737,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.28744,
"c": 0.15205,
"h": 270.8
},
"luminance": 0.02033
}Semantic roles & 50–950 ramp
primary
#151774
secondary
#AAA83B
accent
#E83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E