#1B3F89#1B3F89
#1B3F89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.131 H 262.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F89 |
|---|---|
| RGB | rgb(27, 63, 137) |
| HSL | hsl(220, 67%, 32%) |
| HSV | hsv(220, 80%, 54%) |
| CMYK | cmyk(80.3%, 54%, 0%, 46.3%) |
| CIE-LAB | lab(28.36, 15.77, -44.97) |
| CIE-LCH | lch(28.36, 47.66, 289.32°) |
| OKLab | oklab(38.79% -0.0171 -0.1296) |
| OKLCH | oklch(38.79% 0.131 262.5) |
| XYZ | xyz(6.7432, 5.5934, 24.3863) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.04
Darkish Blue
#014182
ΔE00 3.12
Twilight Blue
#0A437A
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.98
Marine Blue
#01386A
ΔE00 5.34
Prussian Blue
#004577
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F89 #89651B
analogous
#1B7689 #1B3F89 #2E1B89
triadic
#1B3F89 #891B3F #3F891B
tetradic
#1B3F89 #891B76 #89651B #1B892E
square
#1B3F89 #891B76 #89651B #1B892E
split-complementary
#1B3F89 #892E1B #76891B
monochromatic
#071023 #112756 #1B3F89 #2557BC #4475DA
Accessibility & contrast
On white
9.91
#1B3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1B3F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F89
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F89 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1b3f89; /* rgb */ color: rgb(27, 63, 137); /* oklch */ color: oklch(38.8% 0.131 262.5);
Tailwind
colors: {
custom: {
50: '#6a73ac',
500: '#1b3f89',
950: '#000000',
},
}SCSS
$custom: #1b3f89; $custom-light: #6a73ac; $custom-dark: #000000;
JSON
{
"hex": "#1b3f89",
"rgb": {
"r": 27,
"g": 63,
"b": 137
},
"hsl": {
"h": 220.364,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.38788,
"c": 0.13068,
"h": 262.5
},
"luminance": 0.05594
}Semantic roles & 50–950 ramp
primary
#1B3F89
secondary
#BC9544
accent
#B23EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F