#1B3D96#1B3D96
#1B3D96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.152 H 264.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3D96 |
|---|---|
| RGB | rgb(27, 61, 150) |
| HSL | hsl(223, 69%, 35%) |
| HSV | hsv(223, 82%, 59%) |
| CMYK | cmyk(82%, 59.3%, 0%, 41.2%) |
| CIE-LAB | lab(28.83, 22.41, -52.21) |
| CIE-LCH | lch(28.83, 56.82, 293.23°) |
| OKLab | oklab(39.47% -0.0146 -0.1509) |
| OKLCH | oklch(39.47% 0.152 264.5) |
| XYZ | xyz(7.6238, 5.7716, 29.5605) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Cobalt
#0047AB
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 4.32
Darkish Blue
#014182
ΔE00 5.07
Blueberry
#464196
ΔE00 6.07
Twilight Blue
#0A437A
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3D96 #96741B
analogous
#1B7A96 #1B3D96 #371B96
triadic
#1B3D96 #961B3D #3D961B
tetradic
#1B3D96 #961B7A #96741B #1B9637
square
#1B3D96 #961B7A #96741B #1B9637
split-complementary
#1B3D96 #96371B #7A961B
monochromatic
#08132E #122862 #1B3D96 #2452CA #4D75DF
Accessibility & contrast
On white
9.75
#1B3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#1B3D96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3D96
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3D96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3D96 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1b3d96; /* rgb */ color: rgb(27, 61, 150); /* oklch */ color: oklch(39.5% 0.152 264.5);
Tailwind
colors: {
custom: {
50: '#6d72b6',
500: '#1b3d96',
950: '#000000',
},
}SCSS
$custom: #1b3d96; $custom-light: #6d72b6; $custom-dark: #000000;
JSON
{
"hex": "#1b3d96",
"rgb": {
"r": 27,
"g": 61,
"b": 150
},
"hsl": {
"h": 223.415,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.39466,
"c": 0.15159,
"h": 264.5
},
"luminance": 0.05773
}Semantic roles & 50–950 ramp
primary
#1B3D96
secondary
#C1A14C
accent
#BB3BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80