#1F3DA0#1F3DA0
#1F3DA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.164 H 266.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3DA0 |
|---|---|
| RGB | rgb(31, 61, 160) |
| HSL | hsl(226, 68%, 37%) |
| HSV | hsv(226, 81%, 63%) |
| CMYK | cmyk(80.6%, 61.9%, 0%, 37.3%) |
| CIE-LAB | lab(29.83, 26.74, -56.66) |
| CIE-LCH | lch(29.83, 62.65, 295.26°) |
| OKLab | oklab(40.52% -0.0113 -0.1639) |
| OKLCH | oklch(40.52% 0.164 266.1) |
| XYZ | xyz(8.5767, 6.1659, 33.9890) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.60
Cobalt
#0047AB
ΔE00 4.12
Cobalt (survey)
#1E488F
ΔE00 5.35
Blue Blue
#2242C7
ΔE00 5.52
Blueberry
#464196
ΔE00 5.54
Darkish Blue
#014182
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3DA0 #A0821F
analogous
#1F7DA0 #1F3DA0 #421FA0
triadic
#1F3DA0 #A01F3D #3DA01F
tetradic
#1F3DA0 #A01F7D #A0821F #1FA042
square
#1F3DA0 #A01F7D #A0821F #1FA042
split-complementary
#1F3DA0 #A0421F #7DA01F
monochromatic
#0B1639 #15296D #1F3DA0 #2951D3 #5A79DF
Accessibility & contrast
On white
9.40
#1F3DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1F3DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3DA0
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3DA0 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f3da0; /* rgb */ color: rgb(31, 61, 160); /* oklch */ color: oklch(40.5% 0.164 266.1);
Tailwind
colors: {
custom: {
50: '#7172bd',
500: '#1f3da0',
950: '#000000',
},
}SCSS
$custom: #1f3da0; $custom-light: #7172bd; $custom-dark: #000000;
JSON
{
"hex": "#1f3da0",
"rgb": {
"r": 31,
"g": 61,
"b": 160
},
"hsl": {
"h": 226.047,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.40517,
"c": 0.16426,
"h": 266.1
},
"luminance": 0.06167
}Semantic roles & 50–950 ramp
primary
#1F3DA0
secondary
#C3AA58
accent
#C23DEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81