#1F50B4#1F50B4
#1F50B4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.168 H 262.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F50B4 |
|---|---|
| RGB | rgb(31, 80, 180) |
| HSL | hsl(220, 71%, 41%) |
| HSV | hsv(220, 83%, 71%) |
| CMYK | cmyk(82.8%, 55.6%, 0%, 29.4%) |
| CIE-LAB | lab(36.60, 21.79, -57.57) |
| CIE-LCH | lch(36.60, 61.56, 290.73°) |
| OKLab | oklab(46.11% -0.0224 -0.1662) |
| OKLCH | oklch(46.11% 0.168 262.3) |
| XYZ | xyz(11.6690, 9.3225, 44.3556) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.27
Cobalt
#0047AB
ΔE00 3.12
Cobalt (survey)
#1E488F
ΔE00 5.32
Dusk Blue
#26538D
ΔE00 5.34
Denim Blue
#3B5B92
ΔE00 5.80
Blue Blue
#2242C7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F50B4 #B4831F
analogous
#1F9BB4 #1F50B4 #381FB4
triadic
#1F50B4 #B41F50 #50B41F
tetradic
#1F50B4 #B41F9B #B4831F #1FB438
square
#1F50B4 #B41F9B #B4831F #1FB438
split-complementary
#1F50B4 #B4381F #9BB41F
monochromatic
#0D224C #163980 #1F50B4 #346BDC #6891E5
Accessibility & contrast
On white
7.33
#1F50B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#1F50B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F50B4
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F50B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F50B4 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1f50b4; /* rgb */ color: rgb(31, 80, 180); /* oklch */ color: oklch(46.1% 0.168 262.3);
Tailwind
colors: {
custom: {
50: '#7580cb',
500: '#1f50b4',
950: '#000000',
},
}SCSS
$custom: #1f50b4; $custom-light: #7580cb; $custom-dark: #000000;
JSON
{
"hex": "#1f50b4",
"rgb": {
"r": 31,
"g": 80,
"b": 180
},
"hsl": {
"h": 220.268,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.46106,
"c": 0.16774,
"h": 262.3
},
"luminance": 0.09324
}Semantic roles & 50–950 ramp
primary
#1F50B4
secondary
#CBA964
accent
#B33AED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82