#1B1C8B#1B1C8B
#1B1C8B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.175 H 270.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1C8B |
|---|---|
| RGB | rgb(27, 28, 139) |
| HSL | hsl(239, 67%, 33%) |
| HSV | hsv(239, 81%, 55%) |
| CMYK | cmyk(80.6%, 79.9%, 0%, 45.5%) |
| CIE-LAB | lab(19.75, 39.61, -60.33) |
| CIE-LCH | lch(19.75, 72.17, 303.28°) |
| OKLab | oklab(32.52% 0.0027 -0.1747) |
| OKLCH | oklch(32.52% 0.175 270.9) |
| XYZ | xyz(5.5259, 2.9270, 24.6948) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.67
Midnight Blue
#191970
ΔE00 4.19
Cobalt Blue
#030AA7
ΔE00 4.61
Darkblue
#00008B
ΔE00 4.70
Royal Blue (survey)
#0504AA
ΔE00 5.20
Navy
#000080
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1C8B #8B8A1B
analogous
#1B548B #1B1C8B #521B8B
triadic
#1B1C8B #8B1B1C #1C8B1B
tetradic
#1B1C8B #8B1B54 #8B8A1B #1B8B52
square
#1B1C8B #8B1B54 #8B8A1B #1B8B52
split-complementary
#1B1C8B #8B521B #548B1B
monochromatic
#070725 #111258 #1B1C8B #2526BE #4547DB
Accessibility & contrast
On white
13.24
#1B1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B1C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1C8B
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1C8B | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b1c8b; /* rgb */ color: rgb(27, 28, 139); /* oklch */ color: oklch(32.5% 0.175 270.9);
Tailwind
colors: {
custom: {
50: '#6e5aae',
500: '#1b1c8b',
950: '#000000',
},
}SCSS
$custom: #1b1c8b; $custom-light: #6e5aae; $custom-dark: #000000;
JSON
{
"hex": "#1b1c8b",
"rgb": {
"r": 27,
"g": 28,
"b": 139
},
"hsl": {
"h": 239.464,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.32519,
"c": 0.17471,
"h": 270.9
},
"luminance": 0.02928
}Semantic roles & 50–950 ramp
primary
#1B1C8B
secondary
#BCBB45
accent
#E93DEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F