#1B3D9B#1B3D9B
#1B3D9B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.158 H 264.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3D9B |
|---|---|
| RGB | rgb(27, 61, 155) |
| HSL | hsl(224, 70%, 36%) |
| HSV | hsv(224, 83%, 61%) |
| CMYK | cmyk(82.6%, 60.6%, 0%, 39.2%) |
| CIE-LAB | lab(29.25, 24.40, -54.57) |
| CIE-LCH | lch(29.25, 59.78, 294.09°) |
| OKLab | oklab(39.91% -0.0144 -0.1578) |
| OKLCH | oklch(39.91% 0.158 264.8) |
| XYZ | xyz(8.0350, 5.9361, 31.7263) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Cobalt
#0047AB
ΔE00 4.03
Cobalt (survey)
#1E488F
ΔE00 4.72
Darkish Blue
#014182
ΔE00 5.66
Blueberry
#464196
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3D9B #9B791B
analogous
#1B7D9B #1B3D9B #391B9B
triadic
#1B3D9B #9B1B3D #3D9B1B
tetradic
#1B3D9B #9B1B7D #9B791B #1B9B39
square
#1B3D9B #9B1B7D #9B791B #1B9B39
split-complementary
#1B3D9B #9B391B #7D9B1B
monochromatic
#091433 #122867 #1B3D9B #2452CF #5076E0
Accessibility & contrast
On white
9.60
#1B3D9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1B3D9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3D9B
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3D9B | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b3d9b; /* rgb */ color: rgb(27, 61, 155); /* oklch */ color: oklch(39.9% 0.158 264.8);
Tailwind
colors: {
custom: {
50: '#6f72b9',
500: '#1b3d9b',
950: '#000000',
},
}SCSS
$custom: #1b3d9b; $custom-light: #6f72b9; $custom-dark: #000000;
JSON
{
"hex": "#1b3d9b",
"rgb": {
"r": 27,
"g": 61,
"b": 155
},
"hsl": {
"h": 224.063,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.39913,
"c": 0.15847,
"h": 264.8
},
"luminance": 0.05937
}Semantic roles & 50–950 ramp
primary
#1B3D9B
secondary
#C3A44F
accent
#BE3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81