#1B319E#1B319E
#1B319E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.177 H 267.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1B319E |
|---|---|
| RGB | rgb(27, 49, 158) |
| HSL | hsl(230, 71%, 36%) |
| HSV | hsv(230, 83%, 62%) |
| CMYK | cmyk(82.9%, 69%, 0%, 38%) |
| CIE-LAB | lab(26.44, 33.60, -61.01) |
| CIE-LCH | lch(26.44, 69.65, 298.85°) |
| OKLab | oklab(37.92% -0.0081 -0.1767) |
| OKLCH | oklch(37.92% 0.177 267.4) |
| XYZ | xyz(7.7197, 4.8973, 32.8795) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.56
Royal
#0C1793
ΔE00 6.51
Blueberry
#464196
ΔE00 6.59
Blue Blue
#2242C7
ΔE00 7.11
Indigo Blue
#3A18B1
ΔE00 7.28
Darkslateblue
#483D8B
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B319E #9E881B
analogous
#1B739E #1B319E #471B9E
triadic
#1B319E #9E1B31 #319E1B
tetradic
#1B319E #9E1B73 #9E881B #1B9E47
square
#1B319E #9E1B73 #9E881B #1B9E47
split-complementary
#1B319E #9E471B #739E1B
monochromatic
#091135 #12216A #1B319E #2441D2 #526AE1
Accessibility & contrast
On white
10.61
#1B319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1B319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B319E
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B319E | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1b319e; /* rgb */ color: rgb(27, 49, 158); /* oklch */ color: oklch(37.9% 0.177 267.4);
Tailwind
colors: {
custom: {
50: '#7169bc',
500: '#1b319e',
950: '#000000',
},
}SCSS
$custom: #1b319e; $custom-light: #7169bc; $custom-dark: #000000;
JSON
{
"hex": "#1b319e",
"rgb": {
"r": 27,
"g": 49,
"b": 158
},
"hsl": {
"h": 229.924,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.37924,
"c": 0.17693,
"h": 267.4
},
"luminance": 0.04898
}Semantic roles & 50–950 ramp
primary
#1B319E
secondary
#C4B151
accent
#CF3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81