#1B3996#1B3996
#1B3996 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.157 H 265.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3996 |
|---|---|
| RGB | rgb(27, 57, 150) |
| HSL | hsl(225, 69%, 35%) |
| HSV | hsv(225, 82%, 59%) |
| CMYK | cmyk(82%, 62%, 0%, 41.2%) |
| CIE-LAB | lab(27.74, 25.15, -53.99) |
| CIE-LCH | lch(27.74, 59.56, 294.98°) |
| OKLab | oklab(38.65% -0.0121 -0.1562) |
| OKLCH | oklch(38.65% 0.157 265.6) |
| XYZ | xyz(7.4182, 5.3604, 29.4919) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Cobalt
#0047AB
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 5.69
Blueberry
#464196
ΔE00 5.92
Darkish Blue
#014182
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3996 #96781B
analogous
#1B7796 #1B3996 #3B1B96
triadic
#1B3996 #961B39 #39961B
tetradic
#1B3996 #961B77 #96781B #1B963B
square
#1B3996 #961B77 #96781B #1B963B
split-complementary
#1B3996 #963B1B #77961B
monochromatic
#08122E #122562 #1B3996 #244DCA #4D70DF
Accessibility & contrast
On white
10.13
#1B3996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#1B3996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3996
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3996 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1b3996; /* rgb */ color: rgb(27, 57, 150); /* oklch */ color: oklch(38.7% 0.157 265.6);
Tailwind
colors: {
custom: {
50: '#6e6fb6',
500: '#1b3996',
950: '#000000',
},
}SCSS
$custom: #1b3996; $custom-light: #6e6fb6; $custom-dark: #000000;
JSON
{
"hex": "#1b3996",
"rgb": {
"r": 27,
"g": 57,
"b": 150
},
"hsl": {
"h": 225.366,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.38651,
"c": 0.15664,
"h": 265.6
},
"luminance": 0.05361
}Semantic roles & 50–950 ramp
primary
#1B3996
secondary
#C1A44C
accent
#C13BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80