#1B1B8A#1B1B8A
#1B1B8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.174 H 271.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B8A |
|---|---|
| RGB | rgb(27, 27, 138) |
| HSL | hsl(240, 67%, 32%) |
| HSV | hsv(240, 80%, 54%) |
| CMYK | cmyk(80.4%, 80.4%, 0%, 45.9%) |
| CIE-LAB | lab(19.44, 39.82, -60.22) |
| CIE-LCH | lch(19.44, 72.20, 303.47°) |
| OKLab | oklab(32.27% 0.0032 -0.1744) |
| OKLCH | oklch(32.27% 0.174 271.1) |
| XYZ | xyz(5.4298, 2.8512, 24.3040) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.64
Midnight Blue
#191970
ΔE00 4.05
Darkblue
#00008B
ΔE00 4.49
Cobalt Blue
#030AA7
ΔE00 4.61
Navy
#000080
ΔE00 5.00
Royal Blue (survey)
#0504AA
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B8A #8A8A1B
analogous
#1B538A #1B1B8A #531B8A
triadic
#1B1B8A #8A1B1B #1B8A1B
tetradic
#1B1B8A #8A1B53 #8A8A1B #1B8A53
square
#1B1B8A #8A1B53 #8A8A1B #1B8A53
split-complementary
#1B1B8A #8A531B #538A1B
monochromatic
#070724 #111157 #1B1B8A #2525BD #4545DB
Accessibility & contrast
On white
13.37
#1B1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B1B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B8A
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B8A | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b1b8a; /* rgb */ color: rgb(27, 27, 138); /* oklch */ color: oklch(32.3% 0.174 271.1);
Tailwind
colors: {
custom: {
50: '#6d5aad',
500: '#1b1b8a',
950: '#000000',
},
}SCSS
$custom: #1b1b8a; $custom-light: #6d5aad; $custom-dark: #000000;
JSON
{
"hex": "#1b1b8a",
"rgb": {
"r": 27,
"g": 27,
"b": 138
},
"hsl": {
"h": 240,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.32266,
"c": 0.17439,
"h": 271.1
},
"luminance": 0.02852
}Semantic roles & 50–950 ramp
primary
#1B1B8A
secondary
#BCBC45
accent
#EA3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F