#1F3E8E#1F3E8E
#1F3E8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.138 H 264.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E8E |
|---|---|
| RGB | rgb(31, 62, 142) |
| HSL | hsl(223, 64%, 34%) |
| HSV | hsv(223, 78%, 56%) |
| CMYK | cmyk(78.2%, 56.3%, 0%, 44.3%) |
| CIE-LAB | lab(28.61, 18.95, -47.65) |
| CIE-LCH | lch(28.61, 51.28, 291.69°) |
| OKLab | oklab(39.14% -0.0127 -0.1374) |
| OKLCH | oklch(39.14% 0.138 264.7) |
| XYZ | xyz(7.1685, 5.6887, 26.3062) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.70
Darkish Blue
#014182
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.79
Sapphire (survey)
#2138AB
ΔE00 5.36
Twilight Blue
#0A437A
ΔE00 5.41
Blueberry
#464196
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E8E #8E6F1F
analogous
#1F768E #1F3E8E #381F8E
triadic
#1F3E8E #8E1F3E #3E8E1F
tetradic
#1F3E8E #8E1F76 #8E6F1F #1F8E38
square
#1F3E8E #8E1F76 #8E6F1F #1F8E38
split-complementary
#1F3E8E #8E381F #768E1F
monochromatic
#09122A #14285C #1F3E8E #2A54C0 #4F75D9
Accessibility & contrast
On white
9.82
#1F3E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#1F3E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E8E
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E8E | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3e8e; /* rgb */ color: rgb(31, 62, 142); /* oklch */ color: oklch(39.1% 0.138 264.7);
Tailwind
colors: {
custom: {
50: '#6c72b0',
500: '#1f3e8e',
950: '#000000',
},
}SCSS
$custom: #1f3e8e; $custom-light: #6c72b0; $custom-dark: #000000;
JSON
{
"hex": "#1f3e8e",
"rgb": {
"r": 31,
"g": 62,
"b": 142
},
"hsl": {
"h": 223.243,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.39143,
"c": 0.13797,
"h": 264.7
},
"luminance": 0.0569
}Semantic roles & 50–950 ramp
primary
#1F3E8E
secondary
#BB9D4D
accent
#B941E7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F