#1F3FA0#1F3FA0
#1F3FA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.162 H 265.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3FA0 |
|---|---|
| RGB | rgb(31, 63, 160) |
| HSL | hsl(225, 68%, 37%) |
| HSV | hsv(225, 81%, 63%) |
| CMYK | cmyk(80.6%, 60.6%, 0%, 37.3%) |
| CIE-LAB | lab(30.36, 25.38, -55.79) |
| CIE-LCH | lch(30.36, 61.29, 294.47°) |
| OKLab | oklab(40.91% -0.0125 -0.1613) |
| OKLCH | oklch(40.91% 0.162 265.6) |
| XYZ | xyz(8.6855, 6.3834, 34.0252) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Cobalt
#0047AB
ΔE00 3.53
Cobalt (survey)
#1E488F
ΔE00 4.75
Blue Blue
#2242C7
ΔE00 5.51
Blueberry
#464196
ΔE00 5.65
Darkish Blue
#014182
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3FA0 #A0801F
analogous
#1F80A0 #1F3FA0 #3F1FA0
triadic
#1F3FA0 #A01F3F #3FA01F
tetradic
#1F3FA0 #A01F80 #A0801F #1FA03F
square
#1F3FA0 #A01F80 #A0801F #1FA03F
split-complementary
#1F3FA0 #A03F1F #80A01F
monochromatic
#0B1739 #152B6D #1F3FA0 #2953D3 #5A7BDF
Accessibility & contrast
On white
9.22
#1F3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#1F3FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3FA0
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3FA0 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f3fa0; /* rgb */ color: rgb(31, 63, 160); /* oklch */ color: oklch(40.9% 0.162 265.6);
Tailwind
colors: {
custom: {
50: '#7173bd',
500: '#1f3fa0',
950: '#000000',
},
}SCSS
$custom: #1f3fa0; $custom-light: #7173bd; $custom-dark: #000000;
JSON
{
"hex": "#1f3fa0",
"rgb": {
"r": 31,
"g": 63,
"b": 160
},
"hsl": {
"h": 225.116,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.40914,
"c": 0.16178,
"h": 265.6
},
"luminance": 0.06384
}Semantic roles & 50–950 ramp
primary
#1F3FA0
secondary
#C3A858
accent
#BF3DEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81