#1B1475#1B1475
#1B1475 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.154 H 274.0°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1475 |
|---|---|
| RGB | rgb(27, 20, 117) |
| HSL | hsl(244, 71%, 27%) |
| HSV | hsv(244, 83%, 46%) |
| CMYK | cmyk(76.9%, 82.9%, 0%, 54.1%) |
| CIE-LAB | lab(15.58, 36.52, -53.27) |
| CIE-LCH | lch(15.58, 64.59, 304.43°) |
| OKLab | oklab(28.83% 0.0107 -0.1541) |
| OKLCH | oklch(28.83% 0.154 274) |
| XYZ | xyz(3.9120, 2.0173, 17.0094) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.72
Dark Royal Blue
#02066F
ΔE00 3.07
Deep Blue
#040273
ΔE00 3.51
Darkblue (survey)
#030764
ΔE00 3.79
Navy
#000080
ΔE00 4.00
Royal
#0C1793
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1475 #6E7514
analogous
#143E75 #1B1475 #4C1475
triadic
#1B1475 #751B14 #14751B
tetradic
#1B1475 #75143E #6E7514 #14754C
square
#1B1475 #75143E #6E7514 #14754C
split-complementary
#1B1475 #754C14 #3E7514
monochromatic
#06041A #0F0B41 #1B1475 #271DA9 #3629DA
Accessibility & contrast
On white
14.96
#1B1475 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1B1475 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1475
14.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1475 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1475 | 1.00 | 14.96 | 1.40 | 14.96 |
| #FFFFFF | 14.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1b1475; /* rgb */ color: rgb(27, 20, 117); /* oklch */ color: oklch(28.8% 0.154 274.0);
Tailwind
colors: {
custom: {
50: '#68549e',
500: '#1b1475',
950: '#000000',
},
}SCSS
$custom: #1b1475; $custom-light: #68549e; $custom-dark: #000000;
JSON
{
"hex": "#1b1475",
"rgb": {
"r": 27,
"g": 20,
"b": 117
},
"hsl": {
"h": 244.33,
"s": 70.803,
"l": 26.863
},
"oklch": {
"l": 0.28825,
"c": 0.15446,
"h": 274
},
"luminance": 0.02018
}Semantic roles & 50–950 ramp
primary
#1B1475
secondary
#A3AB3A
accent
#EE3AE1
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E