#1B1C8D#1B1C8D
#1B1C8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.177 H 270.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1C8D |
|---|---|
| RGB | rgb(27, 28, 141) |
| HSL | hsl(239, 68%, 33%) |
| HSV | hsv(239, 81%, 55%) |
| CMYK | cmyk(80.9%, 80.1%, 0%, 44.7%) |
| CIE-LAB | lab(19.99, 40.29, -61.19) |
| CIE-LCH | lch(19.99, 73.26, 303.36°) |
| OKLab | oklab(32.76% 0.0023 -0.1772) |
| OKLCH | oklch(32.76% 0.177 270.7) |
| XYZ | xyz(5.6733, 2.9860, 25.4715) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.48
Cobalt Blue
#030AA7
ΔE00 4.37
Midnight Blue
#191970
ΔE00 4.48
Darkblue
#00008B
ΔE00 4.69
Royal Blue (survey)
#0504AA
ΔE00 4.96
Navy
#000080
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1C8D #8D8C1B
analogous
#1B558D #1B1C8D #531B8D
triadic
#1B1C8D #8D1B1C #1C8D1B
tetradic
#1B1C8D #8D1B55 #8D8C1B #1B8D53
square
#1B1C8D #8D1B55 #8D8C1B #1B8D53
split-complementary
#1B1C8D #8D531B #558D1B
monochromatic
#070826 #11125A #1B1C8D #2526C0 #4748DC
Accessibility & contrast
On white
13.15
#1B1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B1C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1C8D
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1C8D | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b1c8d; /* rgb */ color: rgb(27, 28, 141); /* oklch */ color: oklch(32.8% 0.177 270.7);
Tailwind
colors: {
custom: {
50: '#6e5ab0',
500: '#1b1c8d',
950: '#000000',
},
}SCSS
$custom: #1b1c8d; $custom-light: #6e5ab0; $custom-dark: #000000;
JSON
{
"hex": "#1b1c8d",
"rgb": {
"r": 27,
"g": 28,
"b": 141
},
"hsl": {
"h": 239.474,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.32756,
"c": 0.17718,
"h": 270.7
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#1B1C8D
secondary
#BDBC46
accent
#E93DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980