#5052CF#5052CF
#5052CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.189 H 276.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5052CF |
|---|---|
| RGB | rgb(80, 82, 207) |
| HSL | hsl(239, 57%, 56%) |
| HSV | hsv(239, 61%, 81%) |
| CMYK | cmyk(61.4%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.60, 36.63, -65.07) |
| CIE-LCH | lch(41.60, 74.67, 299.37°) |
| OKLab | oklab(51.14% 0.0221 -0.1872) |
| OKLCH | oklch(51.14% 0.189 276.7) |
| XYZ | xyz(17.5844, 12.2437, 60.4560) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.34
Iris
#6258C4
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5052CF #CFCD50
analogous
#5092CF #5052CF #8E50CF
triadic
#5052CF #CF5052 #52CF50
tetradic
#5052CF #CF5092 #CFCD50 #50CF8E
square
#5052CF #CF5092 #CFCD50 #50CF8E
split-complementary
#5052CF #CF8E50 #92CF50
monochromatic
#232581 #3133B1 #5052CF #8081DC #B0B1E9
Accessibility & contrast
On white
6.09
#5052CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5052CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5052CF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5052CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5052CF | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5052cf; /* rgb */ color: rgb(80, 82, 207); /* oklch */ color: oklch(51.1% 0.189 276.7);
Tailwind
colors: {
custom: {
50: '#8e83df',
500: '#5052cf',
950: '#000000',
},
}SCSS
$custom: #5052cf; $custom-light: #8e83df; $custom-dark: #000000;
JSON
{
"hex": "#5052cf",
"rgb": {
"r": 80,
"g": 82,
"b": 207
},
"hsl": {
"h": 239.055,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.51141,
"c": 0.18852,
"h": 276.7
},
"luminance": 0.12245
}Semantic roles & 50–950 ramp
primary
#5052CF
secondary
#D8D7A3
accent
#DE48E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83