#5F53CE#5F53CE
#5F53CE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.183 H 282.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5F53CE |
|---|---|
| RGB | rgb(95, 83, 206) |
| HSL | hsl(246, 56%, 57%) |
| HSV | hsv(246, 60%, 81%) |
| CMYK | cmyk(53.9%, 59.7%, 0%, 19.2%) |
| CIE-LAB | lab(42.88, 38.32, -62.37) |
| CIE-LCH | lch(42.88, 73.21, 301.57°) |
| OKLab | oklab(52.34% 0.0395 -0.1789) |
| OKLCH | oklch(52.34% 0.183 282.4) |
| XYZ | xyz(18.9497, 13.0745, 59.9057) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.12
Slate Blue
#6A5ACD
ΔE00 2.67
Light Indigo
#6D5ACF
ΔE00 3.05
Warm Blue
#4B57DB
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 3.75
Bluey Purple
#6241C7
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F53CE #C2CE53
analogous
#5385CE #5F53CE #9D53CE
triadic
#5F53CE #CE5F53 #53CE5F
tetradic
#5F53CE #CE5385 #C2CE53 #53CE9D
square
#5F53CE #CE5385 #C2CE53 #53CE9D
split-complementary
#5F53CE #CE9D53 #85CE53
monochromatic
#2E2582 #3F33B1 #5F53CE #8B83DC #B8B2E9
Accessibility & contrast
On white
5.81
#5F53CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5F53CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F53CE
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F53CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F53CE | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#2D7088
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f53ce; /* rgb */ color: rgb(95, 83, 206); /* oklch */ color: oklch(52.3% 0.183 282.4);
Tailwind
colors: {
custom: {
50: '#9684de',
500: '#5f53ce',
950: '#000000',
},
}SCSS
$custom: #5f53ce; $custom-light: #9684de; $custom-dark: #000000;
JSON
{
"hex": "#5f53ce",
"rgb": {
"r": 95,
"g": 83,
"b": 206
},
"hsl": {
"h": 245.854,
"s": 55.656,
"l": 56.667
},
"oklch": {
"l": 0.52338,
"c": 0.18316,
"h": 282.4
},
"luminance": 0.13076
}Semantic roles & 50–950 ramp
primary
#5F53CE
secondary
#D3D8A5
accent
#DF49D0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83