#1F3F89#1F3F89
#1F3F89 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.130 H 263.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3F89 |
|---|---|
| RGB | rgb(31, 63, 137) |
| HSL | hsl(222, 63%, 33%) |
| HSV | hsv(222, 77%, 54%) |
| CMYK | cmyk(77.4%, 54%, 0%, 46.3%) |
| CIE-LAB | lab(28.52, 16.26, -44.71) |
| CIE-LCH | lch(28.52, 47.58, 289.98°) |
| OKLab | oklab(38.95% -0.014 -0.1287) |
| OKLCH | oklch(38.95% 0.13 263.8) |
| XYZ | xyz(6.8563, 5.6517, 24.3916) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.22
Darkish Blue
#014182
ΔE00 3.55
Twilight Blue
#0A437A
ΔE00 4.63
Cobalt
#0047AB
ΔE00 5.10
Marine Blue
#01386A
ΔE00 5.63
Prussian Blue
#004577
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3F89 #89691F
analogous
#1F7489 #1F3F89 #341F89
triadic
#1F3F89 #891F3F #3F891F
tetradic
#1F3F89 #891F74 #89691F #1F8934
square
#1F3F89 #891F74 #89691F #1F8934
split-complementary
#1F3F89 #89341F #74891F
monochromatic
#081125 #142857 #1F3F89 #2A56BB #4C76D6
Accessibility & contrast
On white
9.86
#1F3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1F3F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3F89
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3F89 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A488C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3f89; /* rgb */ color: rgb(31, 63, 137); /* oklch */ color: oklch(38.9% 0.130 263.8);
Tailwind
colors: {
custom: {
50: '#6b73ac',
500: '#1f3f89',
950: '#000000',
},
}SCSS
$custom: #1f3f89; $custom-light: #6b73ac; $custom-dark: #000000;
JSON
{
"hex": "#1f3f89",
"rgb": {
"r": 31,
"g": 63,
"b": 137
},
"hsl": {
"h": 221.887,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.38948,
"c": 0.1295,
"h": 263.8
},
"luminance": 0.05652
}Semantic roles & 50–950 ramp
primary
#1F3F89
secondary
#B9984B
accent
#B442E6
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F