#5F55C6#5F55C6
#5F55C6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.170 H 282.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5F55C6 |
|---|---|
| RGB | rgb(95, 85, 198) |
| HSL | hsl(245, 50%, 55%) |
| HSV | hsv(245, 57%, 78%) |
| CMYK | cmyk(52%, 57.1%, 0%, 22.4%) |
| CIE-LAB | lab(42.77, 34.64, -57.92) |
| CIE-LCH | lch(42.77, 67.49, 300.88°) |
| OKLab | oklab(52.08% 0.0375 -0.1657) |
| OKLCH | oklch(52.08% 0.17 282.8) |
| XYZ | xyz(18.1578, 13.0061, 54.9688) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.05
Slate Blue
#6A5ACD
ΔE00 2.53
Light Indigo
#6D5ACF
ΔE00 3.05
Dark Periwinkle
#665FD1
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F55C6 #BCC655
analogous
#5583C6 #5F55C6 #9855C6
triadic
#5F55C6 #C65F55 #55C65F
tetradic
#5F55C6 #C65583 #BCC655 #55C698
square
#5F55C6 #C65583 #BCC655 #55C698
split-complementary
#5F55C6 #C69855 #83C655
monochromatic
#2F2878 #4138A6 #5F55C6 #8A83D5 #B5B1E5
Accessibility & contrast
On white
5.83
#5F55C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5F55C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F55C6
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F55C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F55C6 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#356F85
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f55c6; /* rgb */ color: rgb(95, 85, 198); /* oklch */ color: oklch(52.1% 0.170 282.8);
Tailwind
colors: {
custom: {
50: '#9485d8',
500: '#5f55c6',
950: '#000000',
},
}SCSS
$custom: #5f55c6; $custom-light: #9485d8; $custom-dark: #000000;
JSON
{
"hex": "#5f55c6",
"rgb": {
"r": 95,
"g": 85,
"b": 198
},
"hsl": {
"h": 245.31,
"s": 49.78,
"l": 55.49
},
"oklch": {
"l": 0.52082,
"c": 0.16994,
"h": 282.8
},
"luminance": 0.13007
}Semantic roles & 50–950 ramp
primary
#5F55C6
secondary
#CFD3A4
accent
#D94ECD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B15
muted
#7E7C83