#1B4796#1B4796
#1B4796 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.139 H 261.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4796 |
|---|---|
| RGB | rgb(27, 71, 150) |
| HSL | hsl(219, 69%, 35%) |
| HSV | hsv(219, 82%, 59%) |
| CMYK | cmyk(82%, 52.7%, 0%, 41.2%) |
| CIE-LAB | lab(31.67, 15.53, -47.60) |
| CIE-LCH | lch(31.67, 50.06, 288.07°) |
| OKLab | oklab(41.62% -0.0217 -0.1371) |
| OKLCH | oklch(41.62% 0.139 261) |
| XYZ | xyz(8.2083, 6.9405, 29.7553) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.10
Cobalt
#0047AB
ΔE00 2.77
Darkish Blue
#014182
ΔE00 3.69
Dusk Blue
#26538D
ΔE00 4.46
Twilight Blue
#0A437A
ΔE00 4.51
Light Navy
#155084
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4796 #966A1B
analogous
#1B8496 #1B4796 #2D1B96
triadic
#1B4796 #961B47 #47961B
tetradic
#1B4796 #961B84 #966A1B #1B962D
square
#1B4796 #961B84 #966A1B #1B962D
split-complementary
#1B4796 #962D1B #84961B
monochromatic
#08162E #122E62 #1B4796 #2460CA #4D81DF
Accessibility & contrast
On white
8.79
#1B4796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1B4796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4796
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4796 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115099
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b4796; /* rgb */ color: rgb(27, 71, 150); /* oklch */ color: oklch(41.6% 0.139 261.0);
Tailwind
colors: {
custom: {
50: '#6d79b5',
500: '#1b4796',
950: '#000000',
},
}SCSS
$custom: #1b4796; $custom-light: #6d79b5; $custom-dark: #000000;
JSON
{
"hex": "#1b4796",
"rgb": {
"r": 27,
"g": 71,
"b": 150
},
"hsl": {
"h": 218.537,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.41616,
"c": 0.13882,
"h": 261
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#1B4796
secondary
#C1974C
accent
#AD3BEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80