#151B74#151B74
#151B74 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.148 H 270.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #151B74 |
|---|---|
| RGB | rgb(21, 27, 116) |
| HSL | hsl(236, 69%, 27%) |
| HSV | hsv(236, 82%, 45%) |
| CMYK | cmyk(81.9%, 76.7%, 0%, 54.5%) |
| CIE-LAB | lab(16.52, 31.57, -51.07) |
| CIE-LCH | lch(16.52, 60.04, 301.72°) |
| OKLab | oklab(29.36% 0.0005 -0.1479) |
| OKLCH | oklch(29.36% 0.148 270.2) |
| XYZ | xyz(3.8525, 2.2038, 16.7419) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.92
Dark Royal Blue
#02066F
ΔE00 4.57
Royal
#0C1793
ΔE00 4.86
Darkblue (survey)
#030764
ΔE00 4.88
Deep Blue
#040273
ΔE00 5.22
Navy
#000080
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151B74 #746E15
analogous
#154A74 #151B74 #3F1574
triadic
#151B74 #74151B #1B7415
tetradic
#151B74 #74154A #746E15 #15743F
square
#151B74 #74154A #746E15 #15743F
split-complementary
#151B74 #743F15 #4A7415
monochromatic
#05061A #0C0F40 #151B74 #1E27A8 #2B36D9
Accessibility & contrast
On white
14.58
#151B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#151B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151B74
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151B74 | 1.00 | 14.58 | 1.44 | 14.58 |
| #FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #151b74; /* rgb */ color: rgb(21, 27, 116); /* oklch */ color: oklch(29.4% 0.148 270.2);
Tailwind
colors: {
custom: {
50: '#65589d',
500: '#151b74',
950: '#000000',
},
}SCSS
$custom: #151b74; $custom-light: #65589d; $custom-dark: #000000;
JSON
{
"hex": "#151b74",
"rgb": {
"r": 21,
"g": 27,
"b": 116
},
"hsl": {
"h": 236.211,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.29357,
"c": 0.14792,
"h": 270.2
},
"luminance": 0.02204
}Semantic roles & 50–950 ramp
primary
#151B74
secondary
#AAA33B
accent
#E13CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E