#1B1C8E#1B1C8E
#1B1C8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.178 H 270.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1C8E |
|---|---|
| RGB | rgb(27, 28, 142) |
| HSL | hsl(239, 68%, 33%) |
| HSV | hsv(239, 81%, 56%) |
| CMYK | cmyk(81%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(20.11, 40.62, -61.61) |
| CIE-LCH | lch(20.11, 73.80, 303.40°) |
| OKLab | oklab(32.88% 0.0021 -0.1784) |
| OKLCH | oklch(32.88% 0.178 270.7) |
| XYZ | xyz(5.7481, 3.0159, 25.8651) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.40
Cobalt Blue
#030AA7
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.63
Darkblue
#00008B
ΔE00 4.69
Royal Blue (survey)
#0504AA
ΔE00 4.85
Navy
#000080
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1C8E #8E8D1B
analogous
#1B558E #1B1C8E #531B8E
triadic
#1B1C8E #8E1B1C #1C8E1B
tetradic
#1B1C8E #8E1B55 #8E8D1B #1B8E53
square
#1B1C8E #8E1B55 #8E8D1B #1B8E53
split-complementary
#1B1C8E #8E531B #558E1B
monochromatic
#070827 #11125B #1B1C8E #2526C1 #4749DC
Accessibility & contrast
On white
13.10
#1B1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B1C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1C8E
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1C8E | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b1c8e; /* rgb */ color: rgb(27, 28, 142); /* oklch */ color: oklch(32.9% 0.178 270.7);
Tailwind
colors: {
custom: {
50: '#6e5bb0',
500: '#1b1c8e',
950: '#000000',
},
}SCSS
$custom: #1b1c8e; $custom-light: #6e5bb0; $custom-dark: #000000;
JSON
{
"hex": "#1b1c8e",
"rgb": {
"r": 27,
"g": 28,
"b": 142
},
"hsl": {
"h": 239.478,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.32875,
"c": 0.17841,
"h": 270.7
},
"luminance": 0.03017
}Semantic roles & 50–950 ramp
primary
#1B1C8E
secondary
#BEBD47
accent
#E93DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980