#1F3E91#1F3E91
#1F3E91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.142 H 265.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E91 |
|---|---|
| RGB | rgb(31, 62, 145) |
| HSL | hsl(224, 65%, 35%) |
| HSV | hsv(224, 79%, 57%) |
| CMYK | cmyk(78.6%, 57.2%, 0%, 43.1%) |
| CIE-LAB | lab(28.85, 20.15, -49.11) |
| CIE-LCH | lch(28.85, 53.08, 292.31°) |
| OKLab | oklab(39.4% -0.0125 -0.1417) |
| OKLCH | oklch(39.4% 0.142 265) |
| XYZ | xyz(7.3967, 5.7801, 27.5084) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.84
Cobalt
#0047AB
ΔE00 4.53
Darkish Blue
#014182
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 4.91
Twilight Blue
#0A437A
ΔE00 5.73
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E91 #91721F
analogous
#1F7791 #1F3E91 #391F91
triadic
#1F3E91 #911F3E #3E911F
tetradic
#1F3E91 #911F77 #91721F #1F9139
square
#1F3E91 #911F77 #91721F #1F9139
split-complementary
#1F3E91 #91391F #77911F
monochromatic
#09132C #14285F #1F3E91 #2A54C3 #5176DA
Accessibility & contrast
On white
9.74
#1F3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1F3E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E91
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E91 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3e91; /* rgb */ color: rgb(31, 62, 145); /* oklch */ color: oklch(39.4% 0.142 265.0);
Tailwind
colors: {
custom: {
50: '#6d72b2',
500: '#1f3e91',
950: '#000000',
},
}SCSS
$custom: #1f3e91; $custom-light: #6d72b2; $custom-dark: #000000;
JSON
{
"hex": "#1f3e91",
"rgb": {
"r": 31,
"g": 62,
"b": 145
},
"hsl": {
"h": 223.684,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.39397,
"c": 0.14222,
"h": 265
},
"luminance": 0.05781
}Semantic roles & 50–950 ramp
primary
#1F3E91
secondary
#BD9F4F
accent
#BA40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80