#1B1578#1B1578
#1B1578 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.157 H 273.5°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1578 |
|---|---|
| RGB | rgb(27, 21, 120) |
| HSL | hsl(244, 70%, 28%) |
| HSV | hsv(244, 83%, 47%) |
| CMYK | cmyk(77.5%, 82.5%, 0%, 52.9%) |
| CIE-LAB | lab(16.13, 36.99, -54.29) |
| CIE-LCH | lch(16.13, 65.69, 304.27°) |
| OKLab | oklab(29.32% 0.0095 -0.157) |
| OKLCH | oklch(29.32% 0.157 273.5) |
| XYZ | xyz(4.1092, 2.1250, 17.9593) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.87
Dark Royal Blue
#02066F
ΔE00 3.35
Deep Blue
#040273
ΔE00 3.71
Navy
#000080
ΔE00 3.97
Royal
#0C1793
ΔE00 3.99
Darkblue (survey)
#030764
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1578 #727815
analogous
#154178 #1B1578 #4C1578
triadic
#1B1578 #781B15 #15781B
tetradic
#1B1578 #781541 #727815 #15784C
square
#1B1578 #781541 #727815 #15784C
split-complementary
#1B1578 #784C15 #417815
monochromatic
#06051A #0F0C44 #1B1578 #271EAC #382DDA
Accessibility & contrast
On white
14.74
#1B1578 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#1B1578 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1578
14.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1578 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1578 | 1.00 | 14.74 | 1.43 | 14.74 |
| #FFFFFF | 14.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002376
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b1578; /* rgb */ color: rgb(27, 21, 120); /* oklch */ color: oklch(29.3% 0.157 273.5);
Tailwind
colors: {
custom: {
50: '#6955a0',
500: '#1b1578',
950: '#000000',
},
}SCSS
$custom: #1b1578; $custom-light: #6955a0; $custom-dark: #000000;
JSON
{
"hex": "#1b1578",
"rgb": {
"r": 27,
"g": 21,
"b": 120
},
"hsl": {
"h": 243.636,
"s": 70.213,
"l": 27.647
},
"oklch": {
"l": 0.29318,
"c": 0.15734,
"h": 273.5
},
"luminance": 0.02125
}Semantic roles & 50–950 ramp
primary
#1B1578
secondary
#A7AE3B
accent
#ED3BE2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F