#1B3AA1#1B3AA1
#1B3AA1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.170 H 265.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3AA1 |
|---|---|
| RGB | rgb(27, 58, 161) |
| HSL | hsl(226, 71%, 37%) |
| HSV | hsv(226, 83%, 63%) |
| CMYK | cmyk(83.2%, 64%, 0%, 36.9%) |
| CIE-LAB | lab(28.98, 28.79, -58.65) |
| CIE-LCH | lch(28.98, 65.34, 296.14°) |
| OKLab | oklab(39.88% -0.0126 -0.1698) |
| OKLCH | oklch(39.88% 0.17 265.7) |
| XYZ | xyz(8.3958, 5.8313, 34.3944) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.96
Cobalt
#0047AB
ΔE00 4.84
Blue Blue
#2242C7
ΔE00 5.62
Blueberry
#464196
ΔE00 5.83
Cobalt (survey)
#1E488F
ΔE00 6.18
Darkish Blue
#014182
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3AA1 #A1821B
analogous
#1B7DA1 #1B3AA1 #3F1BA1
triadic
#1B3AA1 #A11B3A #3AA11B
tetradic
#1B3AA1 #A11B7D #A1821B #1BA13F
square
#1B3AA1 #A11B7D #A1821B #1BA13F
split-complementary
#1B3AA1 #A13F1B #7DA11B
monochromatic
#091438 #12276D #1B3AA1 #244DD5 #5475E2
Accessibility & contrast
On white
9.69
#1B3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1B3AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3AA1
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3AA1 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1b3aa1; /* rgb */ color: rgb(27, 58, 161); /* oklch */ color: oklch(39.9% 0.170 265.7);
Tailwind
colors: {
custom: {
50: '#716fbe',
500: '#1b3aa1',
950: '#000000',
},
}SCSS
$custom: #1b3aa1; $custom-light: #716fbe; $custom-dark: #000000;
JSON
{
"hex": "#1b3aa1",
"rgb": {
"r": 27,
"g": 58,
"b": 161
},
"hsl": {
"h": 226.119,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.39877,
"c": 0.17028,
"h": 265.7
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#1B3AA1
secondary
#C5AB52
accent
#C43AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81