#1F37B4#1F37B4
#1F37B4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.197 H 267.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F37B4 |
|---|---|
| RGB | rgb(31, 55, 180) |
| HSL | hsl(230, 71%, 41%) |
| HSV | hsv(230, 83%, 71%) |
| CMYK | cmyk(82.8%, 69.4%, 0%, 29.4%) |
| CIE-LAB | lab(30.20, 38.21, -68.05) |
| CIE-LCH | lch(30.20, 78.04, 299.31°) |
| OKLab | oklab(41.36% -0.009 -0.1972) |
| OKLCH | oklch(41.36% 0.197 267.4) |
| XYZ | xyz(10.1666, 6.3177, 43.8548) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.30
Blue Blue
#2242C7
ΔE00 3.91
Ocean Blue
#4F42B5
ΔE00 5.79
Blue (survey)
#0343DF
ΔE00 6.29
Cobalt
#0047AB
ΔE00 6.44
Blue With A Hint Of Purple
#533CC6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F37B4 #B49C1F
analogous
#1F82B4 #1F37B4 #521FB4
triadic
#1F37B4 #B41F37 #37B41F
tetradic
#1F37B4 #B41F82 #B49C1F #1FB452
square
#1F37B4 #B41F82 #B49C1F #1FB452
split-complementary
#1F37B4 #B4521F #82B41F
monochromatic
#0D174C #162780 #1F37B4 #344FDC #687CE5
Accessibility & contrast
On white
9.28
#1F37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1F37B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F37B4
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F37B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F37B4 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f37b4; /* rgb */ color: rgb(31, 55, 180); /* oklch */ color: oklch(41.4% 0.197 267.4);
Tailwind
colors: {
custom: {
50: '#776ecc',
500: '#1f37b4',
950: '#000000',
},
}SCSS
$custom: #1f37b4; $custom-light: #776ecc; $custom-dark: #000000;
JSON
{
"hex": "#1f37b4",
"rgb": {
"r": 31,
"g": 55,
"b": 180
},
"hsl": {
"h": 230.336,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.41359,
"c": 0.1974,
"h": 267.4
},
"luminance": 0.06319
}Semantic roles & 50–950 ramp
primary
#1F37B4
secondary
#CBBA64
accent
#D13AED
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82