#1B1B9E#1B1B9E
#1B1B9E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.198 H 269.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B9E |
|---|---|
| RGB | rgb(27, 27, 158) |
| HSL | hsl(240, 71%, 36%) |
| HSV | hsv(240, 83%, 62%) |
| CMYK | cmyk(82.9%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(21.89, 46.40, -68.53) |
| CIE-LCH | lch(21.89, 82.76, 304.10°) |
| OKLab | oklab(34.68% -0.001 -0.1984) |
| OKLCH | oklch(34.68% 0.198 269.7) |
| XYZ | xyz(7.0134, 3.4847, 32.6441) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.98
Cobalt Blue
#030AA7
ΔE00 2.68
Royal Blue (survey)
#0504AA
ΔE00 3.25
Ultramarine
#2000B1
ΔE00 3.85
Indigo Blue
#3A18B1
ΔE00 4.04
Darkblue
#00008B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B9E #9E9E1B
analogous
#1B5D9E #1B1B9E #5D1B9E
triadic
#1B1B9E #9E1B1B #1B9E1B
tetradic
#1B1B9E #9E1B5D #9E9E1B #1B9E5D
square
#1B1B9E #9E1B5D #9E9E1B #1B9E5D
split-complementary
#1B1B9E #9E5D1B #5D9E1B
monochromatic
#090935 #12126A #1B1B9E #2424D2 #5252E1
Accessibility & contrast
On white
12.37
#1B1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1B1B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B9E
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B9E | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b1b9e; /* rgb */ color: rgb(27, 27, 158); /* oklch */ color: oklch(34.7% 0.198 269.7);
Tailwind
colors: {
custom: {
50: '#735bbc',
500: '#1b1b9e',
950: '#000000',
},
}SCSS
$custom: #1b1b9e; $custom-light: #735bbc; $custom-dark: #000000;
JSON
{
"hex": "#1b1b9e",
"rgb": {
"r": 27,
"g": 27,
"b": 158
},
"hsl": {
"h": 240,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.34683,
"c": 0.19842,
"h": 269.7
},
"luminance": 0.03485
}Semantic roles & 50–950 ramp
primary
#1B1B9E
secondary
#C4C451
accent
#EE3AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981