#1F3CA0#1F3CA0
#1F3CA0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.165 H 266.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3CA0 |
|---|---|
| RGB | rgb(31, 60, 160) |
| HSL | hsl(227, 68%, 37%) |
| HSV | hsv(227, 81%, 63%) |
| CMYK | cmyk(80.6%, 62.5%, 0%, 37.3%) |
| CIE-LAB | lab(29.56, 27.41, -57.09) |
| CIE-LCH | lch(29.56, 63.33, 295.65°) |
| OKLab | oklab(40.32% -0.0107 -0.1651) |
| OKLCH | oklch(40.32% 0.165 266.3) |
| XYZ | xyz(8.5239, 6.0601, 33.9714) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.35
Cobalt
#0047AB
ΔE00 4.42
Blueberry
#464196
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.56
Cobalt (survey)
#1E488F
ΔE00 5.66
Darkish Blue
#014182
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3CA0 #A0831F
analogous
#1F7CA0 #1F3CA0 #431FA0
triadic
#1F3CA0 #A01F3C #3CA01F
tetradic
#1F3CA0 #A01F7C #A0831F #1FA043
square
#1F3CA0 #A01F7C #A0831F #1FA043
split-complementary
#1F3CA0 #A0431F #7CA01F
monochromatic
#0B1639 #15296D #1F3CA0 #294FD3 #5A78DF
Accessibility & contrast
On white
9.49
#1F3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1F3CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3CA0
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3CA0 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f3ca0; /* rgb */ color: rgb(31, 60, 160); /* oklch */ color: oklch(40.3% 0.165 266.3);
Tailwind
colors: {
custom: {
50: '#7171bd',
500: '#1f3ca0',
950: '#000000',
},
}SCSS
$custom: #1f3ca0; $custom-light: #7171bd; $custom-dark: #000000;
JSON
{
"hex": "#1f3ca0",
"rgb": {
"r": 31,
"g": 60,
"b": 160
},
"hsl": {
"h": 226.512,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.40322,
"c": 0.16548,
"h": 266.3
},
"luminance": 0.06061
}Semantic roles & 50–950 ramp
primary
#1F3CA0
secondary
#C3AB58
accent
#C43DEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81