#5955E8#5955E8
#5955E8 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.215 H 277.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5955E8 |
|---|---|
| RGB | rgb(89, 85, 232) |
| HSL | hsl(242, 76%, 62%) |
| HSV | hsv(242, 63%, 91%) |
| CMYK | cmyk(61.6%, 63.4%, 0%, 9%) |
| CIE-LAB | lab(44.86, 44.32, -73.98) |
| CIE-LCH | lch(44.86, 86.24, 300.92°) |
| OKLab | oklab(54.3% 0.0287 -0.2131) |
| OKLCH | oklch(54.3% 0.215 277.7) |
| XYZ | xyz(21.9291, 14.4453, 77.9609) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.88
Dark Periwinkle
#665FD1
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.55
Iris
#6258C4
ΔE00 5.04
Electric Blue
#0652FF
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955E8 #E4E855
analogous
#559AE8 #5955E8 #A355E8
triadic
#5955E8 #E85955 #55E859
tetradic
#5955E8 #E8559A #E4E855 #55E8A3
square
#5955E8 #E8559A #E4E855 #55E8A3
split-complementary
#5955E8 #E8A355 #9AE855
monochromatic
#1B17AB #241FE1 #5955E8 #8E8BEF #C2C1F7
Accessibility & contrast
On white
5.40
#5955E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5955E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955E8
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955E8 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5955e8; /* rgb */ color: rgb(89, 85, 232); /* oklch */ color: oklch(54.3% 0.215 277.7);
Tailwind
colors: {
custom: {
50: '#9685f0',
500: '#5955e8',
950: '#000000',
},
}SCSS
$custom: #5955e8; $custom-light: #9685f0; $custom-dark: #000000;
JSON
{
"hex": "#5955e8",
"rgb": {
"r": 89,
"g": 85,
"b": 232
},
"hsl": {
"h": 241.633,
"s": 76.166,
"l": 62.157
},
"oklch": {
"l": 0.54303,
"c": 0.21506,
"h": 277.7
},
"luminance": 0.14447
}Semantic roles & 50–950 ramp
primary
#5955E8
secondary
#E6E7B1
accent
#D80DD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85