#5955C8#5955C8
#5955C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.174 H 280.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5955C8 |
|---|---|
| RGB | rgb(89, 85, 200) |
| HSL | hsl(242, 51%, 56%) |
| HSV | hsv(242, 58%, 78%) |
| CMYK | cmyk(55.5%, 57.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.44, 34.10, -59.63) |
| CIE-LCH | lch(42.44, 68.69, 299.76°) |
| OKLab | oklab(51.77% 0.0301 -0.1709) |
| OKLCH | oklch(51.77% 0.174 280) |
| XYZ | xyz(17.7904, 12.7898, 56.1636) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.82
Warm Blue
#4B57DB
ΔE00 3.24
Slate Blue
#6A5ACD
ΔE00 3.25
Dark Periwinkle
#665FD1
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 3.80
Bluey Purple
#6241C7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955C8 #C4C855
analogous
#558AC8 #5955C8 #9255C8
triadic
#5955C8 #C85955 #55C859
tetradic
#5955C8 #C8558A #C4C855 #55C892
square
#5955C8 #C8558A #C4C855 #55C892
split-complementary
#5955C8 #C89255 #8AC855
monochromatic
#2B287B #3B37A9 #5955C8 #8683D7 #B3B1E6
Accessibility & contrast
On white
5.90
#5955C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5955C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955C8
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955C8 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#217086
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5955c8; /* rgb */ color: rgb(89, 85, 200); /* oklch */ color: oklch(51.8% 0.174 280.0);
Tailwind
colors: {
custom: {
50: '#9185d9',
500: '#5955c8',
950: '#000000',
},
}SCSS
$custom: #5955c8; $custom-light: #9185d9; $custom-dark: #000000;
JSON
{
"hex": "#5955c8",
"rgb": {
"r": 89,
"g": 85,
"b": 200
},
"hsl": {
"h": 242.087,
"s": 51.111,
"l": 55.882
},
"oklch": {
"l": 0.51767,
"c": 0.17358,
"h": 280
},
"luminance": 0.12791
}Semantic roles & 50–950 ramp
primary
#5955C8
secondary
#D3D4A5
accent
#DB4DD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83