#5955DC#5955DC
#5955DC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.3% C 0.200 H 278.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5955DC |
|---|---|
| RGB | rgb(89, 85, 220) |
| HSL | hsl(242, 66%, 60%) |
| HSV | hsv(242, 61%, 86%) |
| CMYK | cmyk(59.5%, 61.4%, 0%, 13.7%) |
| CIE-LAB | lab(43.93, 40.49, -68.71) |
| CIE-LCH | lch(43.93, 79.75, 300.51°) |
| OKLab | oklab(53.32% 0.0295 -0.1976) |
| OKLCH | oklch(53.32% 0.2 278.5) |
| XYZ | xyz(20.2825, 13.7867, 69.2886) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.17
Slate Blue
#6A5ACD
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 3.66
Iris
#6258C4
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 3.84
Purpleish Blue
#6140EF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955DC #D8DC55
analogous
#5594DC #5955DC #9D55DC
triadic
#5955DC #DC5955 #55DC59
tetradic
#5955DC #DC5594 #D8DC55 #55DC9D
square
#5955DC #DC5594 #D8DC55 #55DC9D
split-complementary
#5955DC #DC9D55 #94DC55
monochromatic
#231F97 #2E2ACA #5955DC #8B88E6 #BCBBF1
Accessibility & contrast
On white
5.59
#5955DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#5955DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955DC
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955DC | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5955dc; /* rgb */ color: rgb(89, 85, 220); /* oklch */ color: oklch(53.3% 0.200 278.5);
Tailwind
colors: {
custom: {
50: '#9485e8',
500: '#5955dc',
950: '#000000',
},
}SCSS
$custom: #5955dc; $custom-light: #9485e8; $custom-dark: #000000;
JSON
{
"hex": "#5955dc",
"rgb": {
"r": 89,
"g": 85,
"b": 220
},
"hsl": {
"h": 241.778,
"s": 65.854,
"l": 59.804
},
"oklch": {
"l": 0.53323,
"c": 0.19983,
"h": 278.5
},
"luminance": 0.13788
}Semantic roles & 50–950 ramp
primary
#5955DC
secondary
#DFE0AC
accent
#E93FE4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84