#1B3796#1B3796
#1B3796 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.159 H 266.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3796 |
|---|---|
| RGB | rgb(27, 55, 150) |
| HSL | hsl(226, 69%, 35%) |
| HSV | hsv(226, 82%, 59%) |
| CMYK | cmyk(82%, 63.3%, 0%, 41.2%) |
| CIE-LAB | lab(27.20, 26.52, -54.87) |
| CIE-LCH | lch(27.20, 60.94, 295.80°) |
| OKLab | oklab(38.25% -0.0109 -0.1588) |
| OKLCH | oklch(38.25% 0.159 266.1) |
| XYZ | xyz(7.3213, 5.1665, 29.4596) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Cobalt
#0047AB
ΔE00 5.93
Blueberry
#464196
ΔE00 5.97
Cobalt (survey)
#1E488F
ΔE00 6.36
Darkish Blue
#014182
ΔE00 6.67
Darkslateblue
#483D8B
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3796 #967A1B
analogous
#1B7596 #1B3796 #3C1B96
triadic
#1B3796 #961B37 #37961B
tetradic
#1B3796 #961B75 #967A1B #1B963C
square
#1B3796 #961B75 #967A1B #1B963C
split-complementary
#1B3796 #963C1B #75961B
monochromatic
#08112E #122462 #1B3796 #244ACA #4D6EDF
Accessibility & contrast
On white
10.33
#1B3796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1B3796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3796
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3796 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1b3796; /* rgb */ color: rgb(27, 55, 150); /* oklch */ color: oklch(38.3% 0.159 266.1);
Tailwind
colors: {
custom: {
50: '#6e6db6',
500: '#1b3796',
950: '#000000',
},
}SCSS
$custom: #1b3796; $custom-light: #6e6db6; $custom-dark: #000000;
JSON
{
"hex": "#1b3796",
"rgb": {
"r": 27,
"g": 55,
"b": 150
},
"hsl": {
"h": 226.341,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.38254,
"c": 0.15913,
"h": 266.1
},
"luminance": 0.05167
}Semantic roles & 50–950 ramp
primary
#1B3796
secondary
#C1A64C
accent
#C43BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80