#5F53C5#5F53C5
#5F53C5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.171 H 283.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5F53C5 |
|---|---|
| RGB | rgb(95, 83, 197) |
| HSL | hsl(246, 50%, 55%) |
| HSV | hsv(246, 58%, 77%) |
| CMYK | cmyk(51.8%, 57.9%, 0%, 22.7%) |
| CIE-LAB | lab(42.23, 35.54, -58.22) |
| CIE-LCH | lch(42.23, 68.21, 301.40°) |
| OKLab | oklab(51.66% 0.0397 -0.1666) |
| OKLCH | oklch(51.66% 0.171 283.4) |
| XYZ | xyz(17.8876, 12.6497, 54.3116) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.56
Slate Blue
#6A5ACD
ΔE00 2.92
Light Indigo
#6D5ACF
ΔE00 3.38
Dark Periwinkle
#665FD1
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 4.46
Bluey Purple
#6241C7
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F53C5 #B9C553
analogous
#5380C5 #5F53C5 #9853C5
triadic
#5F53C5 #C55F53 #53C55F
tetradic
#5F53C5 #C55380 #B9C553 #53C598
square
#5F53C5 #C55380 #B9C553 #53C598
split-complementary
#5F53C5 #C59853 #80C553
monochromatic
#302876 #4337A4 #5F53C5 #8A81D4 #B4AFE4
Accessibility & contrast
On white
5.95
#5F53C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5F53C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F53C5
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F53C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F53C5 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#366D84
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f53c5; /* rgb */ color: rgb(95, 83, 197); /* oklch */ color: oklch(51.7% 0.171 283.4);
Tailwind
colors: {
custom: {
50: '#9484d7',
500: '#5f53c5',
950: '#000000',
},
}SCSS
$custom: #5f53c5; $custom-light: #9484d7; $custom-dark: #000000;
JSON
{
"hex": "#5f53c5",
"rgb": {
"r": 95,
"g": 83,
"b": 197
},
"hsl": {
"h": 246.316,
"s": 49.565,
"l": 54.902
},
"oklch": {
"l": 0.5166,
"c": 0.17129,
"h": 283.4
},
"luminance": 0.12651
}Semantic roles & 50–950 ramp
primary
#5F53C5
secondary
#CDD2A2
accent
#D94FCB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83