#1B1477#1B1477
#1B1477 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.157 H 273.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1477 |
|---|---|
| RGB | rgb(27, 20, 119) |
| HSL | hsl(244, 71%, 27%) |
| HSV | hsv(244, 83%, 47%) |
| CMYK | cmyk(77.3%, 83.2%, 0%, 53.3%) |
| CIE-LAB | lab(15.82, 37.19, -54.15) |
| CIE-LCH | lch(15.82, 65.69, 304.48°) |
| OKLab | oklab(29.07% 0.0102 -0.1566) |
| OKLCH | oklch(29.07% 0.157 273.7) |
| XYZ | xyz(4.0308, 2.0648, 17.6353) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.93
Dark Royal Blue
#02066F
ΔE00 3.13
Deep Blue
#040273
ΔE00 3.50
Navy
#000080
ΔE00 3.84
Darkblue (survey)
#030764
ΔE00 3.99
Royal
#0C1793
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1477 #707714
analogous
#143F77 #1B1477 #4C1477
triadic
#1B1477 #771B14 #14771B
tetradic
#1B1477 #77143F #707714 #14774C
square
#1B1477 #77143F #707714 #14774C
split-complementary
#1B1477 #774C14 #3F7714
monochromatic
#06041A #0F0B43 #1B1477 #271DAB #372ADB
Accessibility & contrast
On white
14.86
#1B1477 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1B1477 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1477
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1477 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1477 | 1.00 | 14.86 | 1.41 | 14.86 |
| #FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1b1477; /* rgb */ color: rgb(27, 20, 119); /* oklch */ color: oklch(29.1% 0.157 273.7);
Tailwind
colors: {
custom: {
50: '#69549f',
500: '#1b1477',
950: '#000000',
},
}SCSS
$custom: #1b1477; $custom-light: #69549f; $custom-dark: #000000;
JSON
{
"hex": "#1b1477",
"rgb": {
"r": 27,
"g": 20,
"b": 119
},
"hsl": {
"h": 244.242,
"s": 71.223,
"l": 27.255
},
"oklch": {
"l": 0.29069,
"c": 0.15697,
"h": 273.7
},
"luminance": 0.02065
}Semantic roles & 50–950 ramp
primary
#1B1477
secondary
#A5AD3A
accent
#EE3AE1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E