#1B1576#1B1576
#1B1576 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.155 H 273.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1576 |
|---|---|
| RGB | rgb(27, 21, 118) |
| HSL | hsl(244, 70%, 27%) |
| HSV | hsv(244, 82%, 46%) |
| CMYK | cmyk(77.1%, 82.2%, 0%, 53.7%) |
| CIE-LAB | lab(15.89, 36.32, -53.40) |
| CIE-LCH | lch(15.89, 64.59, 304.22°) |
| OKLab | oklab(29.08% 0.01 -0.1545) |
| OKLCH | oklch(29.08% 0.155 273.7) |
| XYZ | xyz(3.9891, 2.0769, 17.3267) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.63
Dark Royal Blue
#02066F
ΔE00 3.27
Deep Blue
#040273
ΔE00 3.70
Darkblue (survey)
#030764
ΔE00 4.01
Navy
#000080
ΔE00 4.11
Royal
#0C1793
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1576 #707615
analogous
#154076 #1B1576 #4B1576
triadic
#1B1576 #761B15 #15761B
tetradic
#1B1576 #761540 #707615 #15764B
square
#1B1576 #761540 #707615 #15764B
split-complementary
#1B1576 #764B15 #407615
monochromatic
#06051A #0F0C42 #1B1576 #271EAA #372CD9
Accessibility & contrast
On white
14.84
#1B1576 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1B1576 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1576
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1576 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1576 | 1.00 | 14.84 | 1.42 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b1576; /* rgb */ color: rgb(27, 21, 118); /* oklch */ color: oklch(29.1% 0.155 273.7);
Tailwind
colors: {
custom: {
50: '#69559f',
500: '#1b1576',
950: '#000000',
},
}SCSS
$custom: #1b1576; $custom-light: #69559f; $custom-dark: #000000;
JSON
{
"hex": "#1b1576",
"rgb": {
"r": 27,
"g": 21,
"b": 118
},
"hsl": {
"h": 243.711,
"s": 69.784,
"l": 27.255
},
"oklch": {
"l": 0.29076,
"c": 0.15481,
"h": 273.7
},
"luminance": 0.02077
}Semantic roles & 50–950 ramp
primary
#1B1576
secondary
#A5AC3B
accent
#ED3BE2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E