#1B3F87#1B3F87
#1B3F87 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.128 H 262.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F87 |
|---|---|
| RGB | rgb(27, 63, 135) |
| HSL | hsl(220, 67%, 32%) |
| HSV | hsv(220, 80%, 53%) |
| CMYK | cmyk(80%, 53.3%, 0%, 47.1%) |
| CIE-LAB | lab(28.21, 14.96, -43.98) |
| CIE-LCH | lch(28.21, 46.45, 288.78°) |
| OKLab | oklab(38.63% -0.0173 -0.1266) |
| OKLCH | oklch(38.63% 0.128 262.2) |
| XYZ | xyz(6.6011, 5.5365, 23.6377) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.93
Cobalt (survey)
#1E488F
ΔE00 3.04
Twilight Blue
#0A437A
ΔE00 4.04
Marine Blue
#01386A
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.20
Prussian Blue
#004577
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F87 #87631B
analogous
#1B7587 #1B3F87 #2D1B87
triadic
#1B3F87 #871B3F #3F871B
tetradic
#1B3F87 #871B75 #87631B #1B872D
square
#1B3F87 #871B75 #87631B #1B872D
split-complementary
#1B3F87 #872D1B #75871B
monochromatic
#070F21 #112754 #1B3F87 #2557BA #4375D9
Accessibility & contrast
On white
9.96
#1B3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1B3F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F87
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F87 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1b3f87; /* rgb */ color: rgb(27, 63, 135); /* oklch */ color: oklch(38.6% 0.128 262.2);
Tailwind
colors: {
custom: {
50: '#6973aa',
500: '#1b3f87',
950: '#000000',
},
}SCSS
$custom: #1b3f87; $custom-light: #6973aa; $custom-dark: #000000;
JSON
{
"hex": "#1b3f87",
"rgb": {
"r": 27,
"g": 63,
"b": 135
},
"hsl": {
"h": 220,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.38626,
"c": 0.1278,
"h": 262.2
},
"luminance": 0.05537
}Semantic roles & 50–950 ramp
primary
#1B3F87
secondary
#BA9344
accent
#B03EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F