#5955F3#5955F3
#5955F3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.229 H 277.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5955F3 |
|---|---|
| RGB | rgb(89, 85, 243) |
| HSL | hsl(242, 87%, 64%) |
| HSV | hsv(242, 65%, 95%) |
| CMYK | cmyk(63.4%, 65%, 0%, 4.7%) |
| CIE-LAB | lab(45.76, 47.81, -78.72) |
| CIE-LCH | lch(45.76, 92.10, 301.27°) |
| OKLab | oklab(55.23% 0.0277 -0.227) |
| OKLCH | oklch(55.23% 0.229 277) |
| XYZ | xyz(23.5407, 15.0900, 86.4487) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.95
Electric Blue
#0652FF
ΔE00 4.96
Dark Periwinkle
#665FD1
ΔE00 5.16
Purpleish Blue
#6140EF
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955F3 #EFF355
analogous
#55A0F3 #5955F3 #A855F3
triadic
#5955F3 #F35955 #55F359
tetradic
#5955F3 #F355A0 #EFF355 #55F3A8
square
#5955F3 #F355A0 #EFF355 #55F3A8
split-complementary
#5955F3 #F3A855 #A0F355
monochromatic
#120EC0 #211CEF #5955F3 #918EF7 #C9C7FB
Accessibility & contrast
On white
5.23
#5955F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#5955F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955F3
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955F3 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F8
Deuteranopia (green-blind)
#0066F0
Tritanopia (blue-blind)
#007E9D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5955f3; /* rgb */ color: rgb(89, 85, 243); /* oklch */ color: oklch(55.2% 0.229 277.0);
Tailwind
colors: {
custom: {
50: '#9886f8',
500: '#5955f3',
950: '#000000',
},
}SCSS
$custom: #5955f3; $custom-light: #9886f8; $custom-dark: #000000;
JSON
{
"hex": "#5955f3",
"rgb": {
"r": 89,
"g": 85,
"b": 243
},
"hsl": {
"h": 241.519,
"s": 86.813,
"l": 64.314
},
"oklch": {
"l": 0.55228,
"c": 0.22869,
"h": 277
},
"luminance": 0.15092
}Semantic roles & 50–950 ramp
primary
#5955F3
secondary
#ECEDB6
accent
#E302DE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85