#1F3EA0#1F3EA0
#1F3EA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.163 H 265.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3EA0 |
|---|---|
| RGB | rgb(31, 62, 160) |
| HSL | hsl(226, 68%, 37%) |
| HSV | hsv(226, 81%, 63%) |
| CMYK | cmyk(80.6%, 61.2%, 0%, 37.3%) |
| CIE-LAB | lab(30.09, 26.06, -56.23) |
| CIE-LCH | lch(30.09, 61.97, 294.87°) |
| OKLab | oklab(40.72% -0.0119 -0.1626) |
| OKLCH | oklch(40.72% 0.163 265.8) |
| XYZ | xyz(8.6306, 6.2736, 34.0069) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.82
Cobalt (survey)
#1E488F
ΔE00 5.05
Blue Blue
#2242C7
ΔE00 5.51
Blueberry
#464196
ΔE00 5.59
Darkish Blue
#014182
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3EA0 #A0811F
analogous
#1F7FA0 #1F3EA0 #401FA0
triadic
#1F3EA0 #A01F3E #3EA01F
tetradic
#1F3EA0 #A01F7F #A0811F #1FA040
square
#1F3EA0 #A01F7F #A0811F #1FA040
split-complementary
#1F3EA0 #A0401F #7FA01F
monochromatic
#0B1639 #152A6D #1F3EA0 #2952D3 #5A7ADF
Accessibility & contrast
On white
9.31
#1F3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1F3EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3EA0
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3EA0 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f3ea0; /* rgb */ color: rgb(31, 62, 160); /* oklch */ color: oklch(40.7% 0.163 265.8);
Tailwind
colors: {
custom: {
50: '#7172bd',
500: '#1f3ea0',
950: '#000000',
},
}SCSS
$custom: #1f3ea0; $custom-light: #7172bd; $custom-dark: #000000;
JSON
{
"hex": "#1f3ea0",
"rgb": {
"r": 31,
"g": 62,
"b": 160
},
"hsl": {
"h": 225.581,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.40715,
"c": 0.16302,
"h": 265.8
},
"luminance": 0.06275
}Semantic roles & 50–950 ramp
primary
#1F3EA0
secondary
#C3A958
accent
#C13DEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81