#1F52C2#1F52C2
#1F52C2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.184 H 262.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1F52C2 |
|---|---|
| RGB | rgb(31, 82, 194) |
| HSL | hsl(221, 72%, 44%) |
| HSV | hsv(221, 84%, 76%) |
| CMYK | cmyk(84%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(38.23, 25.93, -63.12) |
| CIE-LCH | lch(38.23, 68.24, 292.33°) |
| OKLab | oklab(47.68% -0.0227 -0.1825) |
| OKLCH | oklch(47.68% 0.184 262.9) |
| XYZ | xyz(13.3165, 10.2193, 52.2991) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.78
Cobalt
#0047AB
ΔE00 4.64
Blue Blue
#2242C7
ΔE00 5.41
Denim
#1560BD
ΔE00 5.61
Blue (survey)
#0343DF
ΔE00 5.97
Azul
#1D5DEC
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F52C2 #C28F1F
analogous
#1FA4C2 #1F52C2 #3E1FC2
triadic
#1F52C2 #C21F52 #52C21F
tetradic
#1F52C2 #C21FA4 #C28F1F #1FC23E
square
#1F52C2 #C21FA4 #C28F1F #1FC23E
split-complementary
#1F52C2 #C23E1F #A4C21F
monochromatic
#0E2558 #173C8D #1F52C2 #3E71E0 #7398E9
Accessibility & contrast
On white
6.90
#1F52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#1F52C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F52C2
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F52C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F52C2 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #1f52c2; /* rgb */ color: rgb(31, 82, 194); /* oklch */ color: oklch(47.7% 0.184 262.9);
Tailwind
colors: {
custom: {
50: '#7882d5',
500: '#1f52c2',
950: '#000000',
},
}SCSS
$custom: #1f52c2; $custom-light: #7882d5; $custom-dark: #000000;
JSON
{
"hex": "#1f52c2",
"rgb": {
"r": 31,
"g": 82,
"b": 194
},
"hsl": {
"h": 221.227,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.47682,
"c": 0.1839,
"h": 262.9
},
"luminance": 0.10221
}Semantic roles & 50–950 ramp
primary
#1F52C2
secondary
#CFB16D
accent
#B639EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83