#1B3D9A#1B3D9A
#1B3D9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.157 H 264.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3D9A |
|---|---|
| RGB | rgb(27, 61, 154) |
| HSL | hsl(224, 70%, 35%) |
| HSV | hsv(224, 82%, 60%) |
| CMYK | cmyk(82.5%, 60.4%, 0%, 39.6%) |
| CIE-LAB | lab(29.17, 24.00, -54.10) |
| CIE-LCH | lch(29.17, 59.19, 293.92°) |
| OKLab | oklab(39.82% -0.0144 -0.1564) |
| OKLCH | oklch(39.82% 0.157 264.7) |
| XYZ | xyz(7.9514, 5.9026, 31.2858) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Cobalt
#0047AB
ΔE00 4.07
Cobalt (survey)
#1E488F
ΔE00 4.63
Darkish Blue
#014182
ΔE00 5.54
Blueberry
#464196
ΔE00 5.93
Blue Blue
#2242C7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3D9A #9A781B
analogous
#1B7C9A #1B3D9A #381B9A
triadic
#1B3D9A #9A1B3D #3D9A1B
tetradic
#1B3D9A #9A1B7C #9A781B #1B9A38
square
#1B3D9A #9A1B7C #9A781B #1B9A38
split-complementary
#1B3D9A #9A381B #7C9A1B
monochromatic
#091432 #122866 #1B3D9A #2452CE #4F76E0
Accessibility & contrast
On white
9.63
#1B3D9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1B3D9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3D9A
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3D9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3D9A | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b3d9a; /* rgb */ color: rgb(27, 61, 154); /* oklch */ color: oklch(39.8% 0.157 264.7);
Tailwind
colors: {
custom: {
50: '#6e72b9',
500: '#1b3d9a',
950: '#000000',
},
}SCSS
$custom: #1b3d9a; $custom-light: #6e72b9; $custom-dark: #000000;
JSON
{
"hex": "#1b3d9a",
"rgb": {
"r": 27,
"g": 61,
"b": 154
},
"hsl": {
"h": 223.937,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.39823,
"c": 0.15711,
"h": 264.7
},
"luminance": 0.05904
}Semantic roles & 50–950 ramp
primary
#1B3D9A
secondary
#C3A34E
accent
#BD3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80