#1F3B91#1F3B91
#1F3B91 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.146 H 266.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3B91 |
|---|---|
| RGB | rgb(31, 59, 145) |
| HSL | hsl(225, 65%, 35%) |
| HSV | hsv(225, 79%, 57%) |
| CMYK | cmyk(78.6%, 59.3%, 0%, 43.1%) |
| CIE-LAB | lab(28.01, 22.22, -50.47) |
| CIE-LCH | lch(28.01, 55.14, 293.76°) |
| OKLab | oklab(38.77% -0.0103 -0.1457) |
| OKLCH | oklch(38.77% 0.146 266) |
| XYZ | xyz(7.2381, 5.4628, 27.4555) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.34
Cobalt (survey)
#1E488F
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.25
Darkish Blue
#014182
ΔE00 5.37
Blueberry
#464196
ΔE00 5.78
Twilight Blue
#0A437A
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3B91 #91751F
analogous
#1F7491 #1F3B91 #3C1F91
triadic
#1F3B91 #911F3B #3B911F
tetradic
#1F3B91 #911F74 #91751F #1F913C
square
#1F3B91 #911F74 #91751F #1F913C
split-complementary
#1F3B91 #913C1F #74911F
monochromatic
#09122C #14265F #1F3B91 #2A50C3 #5172DA
Accessibility & contrast
On white
10.03
#1F3B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#1F3B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3B91
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3B91 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f3b91; /* rgb */ color: rgb(31, 59, 145); /* oklch */ color: oklch(38.8% 0.146 266.0);
Tailwind
colors: {
custom: {
50: '#6d70b2',
500: '#1f3b91',
950: '#000000',
},
}SCSS
$custom: #1f3b91; $custom-light: #6d70b2; $custom-dark: #000000;
JSON
{
"hex": "#1f3b91",
"rgb": {
"r": 31,
"g": 59,
"b": 145
},
"hsl": {
"h": 225.263,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.38769,
"c": 0.14608,
"h": 266
},
"luminance": 0.05464
}Semantic roles & 50–950 ramp
primary
#1F3B91
secondary
#BDA24F
accent
#BF40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80