#5955CB#5955CB
#5955CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.178 H 279.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5955CB |
|---|---|
| RGB | rgb(89, 85, 203) |
| HSL | hsl(242, 53%, 56%) |
| HSV | hsv(242, 58%, 80%) |
| CMYK | cmyk(56.2%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.66, 35.05, -61.01) |
| CIE-LCH | lch(42.66, 70.37, 299.88°) |
| OKLab | oklab(51.99% 0.0301 -0.175) |
| OKLCH | oklch(51.99% 0.178 279.8) |
| XYZ | xyz(18.1444, 12.9314, 58.0282) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.99
Warm Blue
#4B57DB
ΔE00 2.93
Slate Blue
#6A5ACD
ΔE00 3.17
Dark Periwinkle
#665FD1
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 3.69
Bluey Purple
#6241C7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955CB #C7CB55
analogous
#558CCB #5955CB #9455CB
triadic
#5955CB #CB5955 #55CB59
tetradic
#5955CB #CB558C #C7CB55 #55CB94
square
#5955CB #CB558C #C7CB55 #55CB94
split-complementary
#5955CB #CB9455 #8CCB55
monochromatic
#2A277F #3935AE #5955CB #8784D9 #B5B3E8
Accessibility & contrast
On white
5.86
#5955CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5955CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955CB
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955CB | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#1C7188
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5955cb; /* rgb */ color: rgb(89, 85, 203); /* oklch */ color: oklch(52.0% 0.178 279.8);
Tailwind
colors: {
custom: {
50: '#9285dc',
500: '#5955cb',
950: '#000000',
},
}SCSS
$custom: #5955cb; $custom-light: #9285dc; $custom-dark: #000000;
JSON
{
"hex": "#5955cb",
"rgb": {
"r": 89,
"g": 85,
"b": 203
},
"hsl": {
"h": 242.034,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.51994,
"c": 0.17759,
"h": 279.8
},
"luminance": 0.12933
}Semantic roles & 50–950 ramp
primary
#5955CB
secondary
#D4D6A6
accent
#DD4BD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83