#5955CA#5955CA
#5955CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.176 H 279.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5955CA |
|---|---|
| RGB | rgb(89, 85, 202) |
| HSL | hsl(242, 52%, 56%) |
| HSV | hsv(242, 58%, 79%) |
| CMYK | cmyk(55.9%, 57.9%, 0%, 20.8%) |
| CIE-LAB | lab(42.59, 34.73, -60.55) |
| CIE-LCH | lch(42.59, 69.81, 299.84°) |
| OKLab | oklab(51.92% 0.0301 -0.1737) |
| OKLCH | oklch(51.92% 0.176 279.8) |
| XYZ | xyz(18.0256, 12.8839, 57.4027) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.93
Warm Blue
#4B57DB
ΔE00 3.03
Slate Blue
#6A5ACD
ΔE00 3.19
Dark Periwinkle
#665FD1
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 3.73
Bluey Purple
#6241C7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955CA #C6CA55
analogous
#558CCA #5955CA #9455CA
triadic
#5955CA #CA5955 #55CA59
tetradic
#5955CA #CA558C #C6CA55 #55CA94
square
#5955CA #CA558C #C6CA55 #55CA94
split-complementary
#5955CA #CA9455 #8CCA55
monochromatic
#2A277D #3A36AC #5955CA #8784D9 #B4B2E7
Accessibility & contrast
On white
5.87
#5955CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5955CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955CA
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955CA | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#1E7187
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5955ca; /* rgb */ color: rgb(89, 85, 202); /* oklch */ color: oklch(51.9% 0.176 279.8);
Tailwind
colors: {
custom: {
50: '#9285db',
500: '#5955ca',
950: '#000000',
},
}SCSS
$custom: #5955ca; $custom-light: #9285db; $custom-dark: #000000;
JSON
{
"hex": "#5955ca",
"rgb": {
"r": 89,
"g": 85,
"b": 202
},
"hsl": {
"h": 242.051,
"s": 52.466,
"l": 56.275
},
"oklch": {
"l": 0.51918,
"c": 0.17626,
"h": 279.8
},
"luminance": 0.12885
}Semantic roles & 50–950 ramp
primary
#5955CA
secondary
#D4D5A5
accent
#DC4CD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83