#1F52B4#1F52B4
#1F52B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.165 H 261.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F52B4 |
|---|---|
| RGB | rgb(31, 82, 180) |
| HSL | hsl(219, 71%, 41%) |
| HSV | hsv(219, 83%, 71%) |
| CMYK | cmyk(82.8%, 54.4%, 0%, 29.4%) |
| CIE-LAB | lab(37.15, 20.46, -56.68) |
| CIE-LCH | lch(37.15, 60.25, 289.85°) |
| OKLab | oklab(46.53% -0.0237 -0.1636) |
| OKLCH | oklch(46.53% 0.165 261.7) |
| XYZ | xyz(11.8176, 9.6197, 44.4051) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 0.91
Cobalt
#0047AB
ΔE00 3.65
Dusk Blue
#26538D
ΔE00 5.07
Denim
#1560BD
ΔE00 5.22
Denim Blue
#3B5B92
ΔE00 5.39
Cobalt (survey)
#1E488F
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F52B4 #B4811F
analogous
#1F9DB4 #1F52B4 #371FB4
triadic
#1F52B4 #B41F52 #52B41F
tetradic
#1F52B4 #B41F9D #B4811F #1FB437
square
#1F52B4 #B41F9D #B4811F #1FB437
split-complementary
#1F52B4 #B4371F #9DB41F
monochromatic
#0D224C #163A80 #1F52B4 #346EDC #6893E5
Accessibility & contrast
On white
7.18
#1F52B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#1F52B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F52B4
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F52B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F52B4 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1f52b4; /* rgb */ color: rgb(31, 82, 180); /* oklch */ color: oklch(46.5% 0.165 261.7);
Tailwind
colors: {
custom: {
50: '#7581cb',
500: '#1f52b4',
950: '#000000',
},
}SCSS
$custom: #1f52b4; $custom-light: #7581cb; $custom-dark: #000000;
JSON
{
"hex": "#1f52b4",
"rgb": {
"r": 31,
"g": 82,
"b": 180
},
"hsl": {
"h": 219.463,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.46526,
"c": 0.16527,
"h": 261.7
},
"luminance": 0.09621
}Semantic roles & 50–950 ramp
primary
#1F52B4
secondary
#CBA864
accent
#B03AED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82