#1B1B8B#1B1B8B
#1B1B8B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.176 H 271.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B8B |
|---|---|
| RGB | rgb(27, 27, 139) |
| HSL | hsl(240, 67%, 33%) |
| HSV | hsv(240, 81%, 55%) |
| CMYK | cmyk(80.6%, 80.6%, 0%, 45.5%) |
| CIE-LAB | lab(19.56, 40.16, -60.65) |
| CIE-LCH | lch(19.56, 72.74, 303.51°) |
| OKLab | oklab(32.39% 0.003 -0.1756) |
| OKLCH | oklch(32.39% 0.176 271) |
| XYZ | xyz(5.5025, 2.8803, 24.6870) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.53
Midnight Blue
#191970
ΔE00 4.20
Cobalt Blue
#030AA7
ΔE00 4.48
Darkblue
#00008B
ΔE00 4.48
Navy
#000080
ΔE00 5.03
Royal Blue (survey)
#0504AA
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B8B #8B8B1B
analogous
#1B538B #1B1B8B #531B8B
triadic
#1B1B8B #8B1B1B #1B8B1B
tetradic
#1B1B8B #8B1B53 #8B8B1B #1B8B53
square
#1B1B8B #8B1B53 #8B8B1B #1B8B53
split-complementary
#1B1B8B #8B531B #538B1B
monochromatic
#070725 #111158 #1B1B8B #2525BE #4545DB
Accessibility & contrast
On white
13.32
#1B1B8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B1B8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B8B
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B8B | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b1b8b; /* rgb */ color: rgb(27, 27, 139); /* oklch */ color: oklch(32.4% 0.176 271.0);
Tailwind
colors: {
custom: {
50: '#6e5aae',
500: '#1b1b8b',
950: '#000000',
},
}SCSS
$custom: #1b1b8b; $custom-light: #6e5aae; $custom-dark: #000000;
JSON
{
"hex": "#1b1b8b",
"rgb": {
"r": 27,
"g": 27,
"b": 139
},
"hsl": {
"h": 240,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.32386,
"c": 0.17562,
"h": 271
},
"luminance": 0.02881
}Semantic roles & 50–950 ramp
primary
#1B1B8B
secondary
#BCBC45
accent
#EA3DEA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F