#5F52BF#5F52BF
#5F52BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.165 H 284.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5F52BF |
|---|---|
| RGB | rgb(95, 82, 191) |
| HSL | hsl(247, 46%, 54%) |
| HSV | hsv(247, 57%, 75%) |
| CMYK | cmyk(50.3%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.58, 34.30, -55.79) |
| CIE-LCH | lch(41.58, 65.49, 301.58°) |
| OKLab | oklab(51.04% 0.0408 -0.1595) |
| OKLCH | oklch(51.04% 0.165 284.3) |
| XYZ | xyz(17.1378, 12.2282, 50.7374) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.97
Slate Blue
#6A5ACD
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.82
Bluey Purple
#6241C7
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F52BF #B2BF52
analogous
#527BBF #5F52BF #9552BF
triadic
#5F52BF #BF5F52 #52BF5F
tetradic
#5F52BF #BF527B #B2BF52 #52BF95
square
#5F52BF #BF527B #B2BF52 #52BF95
split-complementary
#5F52BF #BF9552 #7BBF52
monochromatic
#31296E #45399B #5F52BF #887FD0 #B2ABE0
Accessibility & contrast
On white
6.09
#5F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5F52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F52BF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F52BF | 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)
#0065C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#3B6B80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f52bf; /* rgb */ color: rgb(95, 82, 191); /* oklch */ color: oklch(51.0% 0.165 284.3);
Tailwind
colors: {
custom: {
50: '#9483d3',
500: '#5f52bf',
950: '#000000',
},
}SCSS
$custom: #5f52bf; $custom-light: #9483d3; $custom-dark: #000000;
JSON
{
"hex": "#5f52bf",
"rgb": {
"r": 95,
"g": 82,
"b": 191
},
"hsl": {
"h": 247.156,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.51043,
"c": 0.16461,
"h": 284.3
},
"luminance": 0.12229
}Semantic roles & 50–950 ramp
primary
#5F52BF
secondary
#C8CE9F
accent
#D652C6
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83