#5955BA#5955BA
#5955BA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.154 H 281.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5955BA |
|---|---|
| RGB | rgb(89, 85, 186) |
| HSL | hsl(242, 42%, 53%) |
| HSV | hsv(242, 54%, 73%) |
| CMYK | cmyk(52.2%, 54.3%, 0%, 27.1%) |
| CIE-LAB | lab(41.48, 29.64, -53.05) |
| CIE-LCH | lch(41.48, 60.77, 299.19°) |
| OKLab | oklab(50.74% 0.0299 -0.1516) |
| OKLCH | oklch(50.74% 0.155 281.1) |
| XYZ | xyz(16.2285, 12.1651, 47.9378) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.25
Slate Blue
#6A5ACD
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955BA #B6BA55
analogous
#5583BA #5955BA #8B55BA
triadic
#5955BA #BA5955 #55BA59
tetradic
#5955BA #BA5583 #B6BA55 #55BA8B
square
#5955BA #BA5583 #B6BA55 #55BA8B
split-complementary
#5955BA #BA8B55 #83BA55
monochromatic
#2D2B6A #403D95 #5955BA #8481CC #AEACDD
Accessibility & contrast
On white
6.12
#5955BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5955BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955BA
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955BA | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A66BD
Deuteranopia (green-blind)
#0A5EB8
Tritanopia (blue-blind)
#316C7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5955ba; /* rgb */ color: rgb(89, 85, 186); /* oklch */ color: oklch(50.7% 0.154 281.1);
Tailwind
colors: {
custom: {
50: '#8f85cf',
500: '#5955ba',
950: '#000000',
},
}SCSS
$custom: #5955ba; $custom-light: #8f85cf; $custom-dark: #000000;
JSON
{
"hex": "#5955ba",
"rgb": {
"r": 89,
"g": 85,
"b": 186
},
"hsl": {
"h": 242.376,
"s": 42.259,
"l": 53.137
},
"oklch": {
"l": 0.5074,
"c": 0.1545,
"h": 281.1
},
"luminance": 0.12166
}Semantic roles & 50–950 ramp
primary
#5955BA
secondary
#C9CBA0
accent
#D256CD
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82