#5F52CA#5F52CA
#5F52CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.179 H 283.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F52CA |
|---|---|
| RGB | rgb(95, 82, 202) |
| HSL | hsl(247, 53%, 56%) |
| HSV | hsv(247, 59%, 79%) |
| CMYK | cmyk(53%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.35, 37.68, -60.91) |
| CIE-LCH | lch(42.35, 71.62, 301.74°) |
| OKLab | oklab(51.86% 0.0406 -0.1746) |
| OKLCH | oklch(51.86% 0.179 283.1) |
| XYZ | xyz(18.3940, 12.7307, 57.3537) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.04
Slate Blue
#6A5ACD
ΔE00 2.92
Light Indigo
#6D5ACF
ΔE00 3.31
Warm Blue
#4B57DB
ΔE00 4.13
Dark Periwinkle
#665FD1
ΔE00 4.15
Bluey Purple
#6241C7
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F52CA #BDCA52
analogous
#5281CA #5F52CA #9B52CA
triadic
#5F52CA #CA5F52 #52CA5F
tetradic
#5F52CA #CA5281 #BDCA52 #52CA9B
square
#5F52CA #CA5281 #BDCA52 #52CA9B
split-complementary
#5F52CA #CA9B52 #81CA52
monochromatic
#2F267C #4134AB #5F52CA #8A81D8 #B6B0E7
Accessibility & contrast
On white
5.92
#5F52CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5F52CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F52CA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F52CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F52CA | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#326E86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f52ca; /* rgb */ color: rgb(95, 82, 202); /* oklch */ color: oklch(51.9% 0.179 283.1);
Tailwind
colors: {
custom: {
50: '#9583db',
500: '#5f52ca',
950: '#000000',
},
}SCSS
$custom: #5f52ca; $custom-light: #9583db; $custom-dark: #000000;
JSON
{
"hex": "#5f52ca",
"rgb": {
"r": 95,
"g": 82,
"b": 202
},
"hsl": {
"h": 246.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.51864,
"c": 0.17922,
"h": 283.1
},
"luminance": 0.12732
}Semantic roles & 50–950 ramp
primary
#5F52CA
secondary
#CFD5A3
accent
#DD4BCD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83