#1B3F86#1B3F86
#1B3F86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.126 H 262.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F86 |
|---|---|
| RGB | rgb(27, 63, 134) |
| HSL | hsl(220, 66%, 32%) |
| HSV | hsv(220, 80%, 53%) |
| CMYK | cmyk(79.9%, 53%, 0%, 47.5%) |
| CIE-LAB | lab(28.14, 14.55, -43.48) |
| CIE-LCH | lch(28.14, 45.84, 288.50°) |
| OKLab | oklab(38.55% -0.0174 -0.1252) |
| OKLCH | oklch(38.55% 0.126 262.1) |
| XYZ | xyz(6.5310, 5.5085, 23.2687) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.84
Cobalt (survey)
#1E488F
ΔE00 3.06
Twilight Blue
#0A437A
ΔE00 3.93
Marine Blue
#01386A
ΔE00 4.96
Cobalt
#0047AB
ΔE00 5.32
Prussian Blue
#004577
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F86 #86621B
analogous
#1B7586 #1B3F86 #2D1B86
triadic
#1B3F86 #861B3F #3F861B
tetradic
#1B3F86 #861B75 #86621B #1B862D
square
#1B3F86 #861B75 #86621B #1B862D
split-complementary
#1B3F86 #862D1B #75861B
monochromatic
#060F20 #112753 #1B3F86 #2557B9 #4275D9
Accessibility & contrast
On white
9.99
#1B3F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1B3F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F86
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F86 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104889
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1b3f86; /* rgb */ color: rgb(27, 63, 134); /* oklch */ color: oklch(38.5% 0.126 262.1);
Tailwind
colors: {
custom: {
50: '#6973aa',
500: '#1b3f86',
950: '#000000',
},
}SCSS
$custom: #1b3f86; $custom-light: #6973aa; $custom-dark: #000000;
JSON
{
"hex": "#1b3f86",
"rgb": {
"r": 27,
"g": 63,
"b": 134
},
"hsl": {
"h": 219.813,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.38545,
"c": 0.12637,
"h": 262.1
},
"luminance": 0.05509
}Semantic roles & 50–950 ramp
primary
#1B3F86
secondary
#B99244
accent
#B03EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F