#5955BC#5955BC
#5955BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.157 H 281.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5955BC |
|---|---|
| RGB | rgb(89, 85, 188) |
| HSL | hsl(242, 43%, 54%) |
| HSV | hsv(242, 55%, 74%) |
| CMYK | cmyk(52.7%, 54.8%, 0%, 26.3%) |
| CIE-LAB | lab(41.61, 30.27, -54.00) |
| CIE-LCH | lch(41.61, 61.91, 299.27°) |
| OKLab | oklab(50.88% 0.0299 -0.1544) |
| OKLCH | oklch(50.88% 0.157 281) |
| XYZ | xyz(16.4426, 12.2507, 49.0654) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.07
Slate Blue
#6A5ACD
ΔE00 4.05
Light Indigo
#6D5ACF
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 4.69
Warm Blue
#4B57DB
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955BC #B8BC55
analogous
#5584BC #5955BC #8C55BC
triadic
#5955BC #BC5955 #55BC59
tetradic
#5955BC #BC5584 #B8BC55 #55BC8C
square
#5955BC #BC5584 #B8BC55 #55BC8C
split-complementary
#5955BC #BC8C55 #84BC55
monochromatic
#2D2B6C #3F3C98 #5955BC #8481CD #AFADDF
Accessibility & contrast
On white
6.09
#5955BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5955BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955BC
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955BC | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#015EBA
Tritanopia (blue-blind)
#2F6C80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5955bc; /* rgb */ color: rgb(89, 85, 188); /* oklch */ color: oklch(50.9% 0.157 281.0);
Tailwind
colors: {
custom: {
50: '#8f85d1',
500: '#5955bc',
950: '#000000',
},
}SCSS
$custom: #5955bc; $custom-light: #8f85d1; $custom-dark: #000000;
JSON
{
"hex": "#5955bc",
"rgb": {
"r": 89,
"g": 85,
"b": 188
},
"hsl": {
"h": 242.33,
"s": 43.46,
"l": 53.529
},
"oklch": {
"l": 0.50883,
"c": 0.15727,
"h": 281
},
"luminance": 0.12252
}Semantic roles & 50–950 ramp
primary
#5955BC
secondary
#CBCCA0
accent
#D355CE
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82