#1B1476#1B1476
#1B1476 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.156 H 273.8°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1476 |
|---|---|
| RGB | rgb(27, 20, 118) |
| HSL | hsl(244, 71%, 27%) |
| HSV | hsv(244, 83%, 46%) |
| CMYK | cmyk(77.1%, 83.1%, 0%, 53.7%) |
| CIE-LAB | lab(15.70, 36.86, -53.71) |
| CIE-LCH | lch(15.70, 65.14, 304.46°) |
| OKLab | oklab(28.95% 0.0104 -0.1554) |
| OKLCH | oklch(28.95% 0.156 273.8) |
| XYZ | xyz(3.9711, 2.0409, 17.3207) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.82
Dark Royal Blue
#02066F
ΔE00 3.10
Deep Blue
#040273
ΔE00 3.50
Darkblue (survey)
#030764
ΔE00 3.89
Navy
#000080
ΔE00 3.92
Royal
#0C1793
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1476 #6F7614
analogous
#143E76 #1B1476 #4C1476
triadic
#1B1476 #761B14 #14761B
tetradic
#1B1476 #76143E #6F7614 #14764C
square
#1B1476 #76143E #6F7614 #14764C
split-complementary
#1B1476 #764C14 #3E7614
monochromatic
#06041A #0F0B42 #1B1476 #271DAA #362ADB
Accessibility & contrast
On white
14.91
#1B1476 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#1B1476 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1476
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1476 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1476 | 1.00 | 14.91 | 1.41 | 14.91 |
| #FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1b1476; /* rgb */ color: rgb(27, 20, 118); /* oklch */ color: oklch(28.9% 0.156 273.8);
Tailwind
colors: {
custom: {
50: '#69549f',
500: '#1b1476',
950: '#000000',
},
}SCSS
$custom: #1b1476; $custom-light: #69549f; $custom-dark: #000000;
JSON
{
"hex": "#1b1476",
"rgb": {
"r": 27,
"g": 20,
"b": 118
},
"hsl": {
"h": 244.286,
"s": 71.014,
"l": 27.059
},
"oklch": {
"l": 0.28947,
"c": 0.15572,
"h": 273.8
},
"luminance": 0.02041
}Semantic roles & 50–950 ramp
primary
#1B1476
secondary
#A4AC3A
accent
#EE3AE1
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030F
muted
#7A787E