#1B37A1#1B37A1
#1B37A1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.174 H 266.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1B37A1 |
|---|---|
| RGB | rgb(27, 55, 161) |
| HSL | hsl(227, 71%, 37%) |
| HSV | hsv(227, 83%, 63%) |
| CMYK | cmyk(83.2%, 65.8%, 0%, 36.9%) |
| CIE-LAB | lab(28.21, 30.79, -59.91) |
| CIE-LCH | lch(28.21, 67.36, 297.20°) |
| OKLab | oklab(39.31% -0.0111 -0.1735) |
| OKLCH | oklch(39.31% 0.174 266.3) |
| XYZ | xyz(8.2489, 5.5376, 34.3454) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.61
Cobalt
#0047AB
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 5.91
Blueberry
#464196
ΔE00 5.97
Cobalt (survey)
#1E488F
ΔE00 7.09
Darkslateblue
#483D8B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B37A1 #A1851B
analogous
#1B7AA1 #1B37A1 #421BA1
triadic
#1B37A1 #A11B37 #37A11B
tetradic
#1B37A1 #A11B7A #A1851B #1BA142
square
#1B37A1 #A11B7A #A1851B #1BA142
split-complementary
#1B37A1 #A1421B #7AA11B
monochromatic
#091338 #12256D #1B37A1 #2449D5 #5472E2
Accessibility & contrast
On white
9.96
#1B37A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1B37A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B37A1
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B37A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B37A1 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1b37a1; /* rgb */ color: rgb(27, 55, 161); /* oklch */ color: oklch(39.3% 0.174 266.3);
Tailwind
colors: {
custom: {
50: '#716dbe',
500: '#1b37a1',
950: '#000000',
},
}SCSS
$custom: #1b37a1; $custom-light: #716dbe; $custom-dark: #000000;
JSON
{
"hex": "#1b37a1",
"rgb": {
"r": 27,
"g": 55,
"b": 161
},
"hsl": {
"h": 227.463,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.39311,
"c": 0.17387,
"h": 266.3
},
"luminance": 0.05539
}Semantic roles & 50–950 ramp
primary
#1B37A1
secondary
#C5AD52
accent
#C83AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81