#1B3896#1B3896
#1B3896 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.158 H 265.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3896 |
|---|---|
| RGB | rgb(27, 56, 150) |
| HSL | hsl(226, 69%, 35%) |
| HSV | hsv(226, 82%, 59%) |
| CMYK | cmyk(82%, 62.7%, 0%, 41.2%) |
| CIE-LAB | lab(27.47, 25.83, -54.43) |
| CIE-LCH | lch(27.47, 60.25, 295.39°) |
| OKLab | oklab(38.45% -0.0115 -0.1575) |
| OKLCH | oklch(38.45% 0.158 265.8) |
| XYZ | xyz(7.3692, 5.2625, 29.4756) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Cobalt
#0047AB
ΔE00 5.65
Blueberry
#464196
ΔE00 5.93
Cobalt (survey)
#1E488F
ΔE00 6.03
Darkish Blue
#014182
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3896 #96791B
analogous
#1B7596 #1B3896 #3C1B96
triadic
#1B3896 #961B38 #38961B
tetradic
#1B3896 #961B75 #96791B #1B963C
square
#1B3896 #961B75 #96791B #1B963C
split-complementary
#1B3896 #963C1B #75961B
monochromatic
#08112E #122562 #1B3896 #244BCA #4D6FDF
Accessibility & contrast
On white
10.23
#1B3896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#1B3896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3896
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3896 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1b3896; /* rgb */ color: rgb(27, 56, 150); /* oklch */ color: oklch(38.5% 0.158 265.8);
Tailwind
colors: {
custom: {
50: '#6e6eb6',
500: '#1b3896',
950: '#000000',
},
}SCSS
$custom: #1b3896; $custom-light: #6e6eb6; $custom-dark: #000000;
JSON
{
"hex": "#1b3896",
"rgb": {
"r": 27,
"g": 56,
"b": 150
},
"hsl": {
"h": 225.854,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.38452,
"c": 0.15789,
"h": 265.8
},
"luminance": 0.05263
}Semantic roles & 50–950 ramp
primary
#1B3896
secondary
#C1A54C
accent
#C33BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80