#5955CF#5955CF
#5955CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.183 H 279.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5955CF |
|---|---|
| RGB | rgb(89, 85, 207) |
| HSL | hsl(242, 56%, 57%) |
| HSV | hsv(242, 59%, 81%) |
| CMYK | cmyk(57%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(42.95, 36.33, -62.85) |
| CIE-LCH | lch(42.95, 72.59, 300.03°) |
| OKLab | oklab(52.3% 0.03 -0.1804) |
| OKLCH | oklch(52.3% 0.183 279.5) |
| XYZ | xyz(18.6273, 13.1246, 60.5711) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.31
Warm Blue
#4B57DB
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 3.13
Dark Periwinkle
#665FD1
ΔE00 3.54
Light Indigo
#6D5ACF
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955CF #CBCF55
analogous
#558ECF #5955CF #9655CF
triadic
#5955CF #CF5955 #55CF59
tetradic
#5955CF #CF558E #CBCF55 #55CF96
square
#5955CF #CF558E #CBCF55 #55CF96
split-complementary
#5955CF #CF9655 #8ECF55
monochromatic
#282584 #3733B4 #5955CF #8885DC #B6B4EA
Accessibility & contrast
On white
5.79
#5955CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5955CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955CF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955CF | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#14728A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5955cf; /* rgb */ color: rgb(89, 85, 207); /* oklch */ color: oklch(52.3% 0.183 279.5);
Tailwind
colors: {
custom: {
50: '#9285de',
500: '#5955cf',
950: '#000000',
},
}SCSS
$custom: #5955cf; $custom-light: #9285de; $custom-dark: #000000;
JSON
{
"hex": "#5955cf",
"rgb": {
"r": 89,
"g": 85,
"b": 207
},
"hsl": {
"h": 241.967,
"s": 55.963,
"l": 57.255
},
"oklch": {
"l": 0.523,
"c": 0.1829,
"h": 279.5
},
"luminance": 0.13126
}Semantic roles & 50–950 ramp
primary
#5955CF
secondary
#D7D9A7
accent
#DF49DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83