#5955BE#5955BE
#5955BE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.160 H 280.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5955BE |
|---|---|
| RGB | rgb(89, 85, 190) |
| HSL | hsl(242, 45%, 54%) |
| HSV | hsv(242, 55%, 75%) |
| CMYK | cmyk(53.2%, 55.3%, 0%, 25.5%) |
| CIE-LAB | lab(41.75, 30.91, -54.95) |
| CIE-LCH | lch(41.75, 63.05, 299.36°) |
| OKLab | oklab(51.03% 0.03 -0.1572) |
| OKLCH | oklch(51.03% 0.16 280.8) |
| XYZ | xyz(16.6597, 12.3376, 50.2087) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.92
Slate Blue
#6A5ACD
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 4.47
Dark Periwinkle
#665FD1
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955BE #BABE55
analogous
#5586BE #5955BE #8E55BE
triadic
#5955BE #BE5955 #55BE59
tetradic
#5955BE #BE5586 #BABE55 #55BE8E
square
#5955BE #BE5586 #BABE55 #55BE8E
split-complementary
#5955BE #BE8E55 #86BE55
monochromatic
#2D2A6E #3F3B9B #5955BE #8481CF #AFAEE0
Accessibility & contrast
On white
6.06
#5955BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5955BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955BE
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955BE | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1066C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#2D6D81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5955be; /* rgb */ color: rgb(89, 85, 190); /* oklch */ color: oklch(51.0% 0.160 280.8);
Tailwind
colors: {
custom: {
50: '#9085d2',
500: '#5955be',
950: '#000000',
},
}SCSS
$custom: #5955be; $custom-light: #9085d2; $custom-dark: #000000;
JSON
{
"hex": "#5955be",
"rgb": {
"r": 89,
"g": 85,
"b": 190
},
"hsl": {
"h": 242.286,
"s": 44.681,
"l": 53.922
},
"oklch": {
"l": 0.51028,
"c": 0.16002,
"h": 280.8
},
"luminance": 0.12339
}Semantic roles & 50–950 ramp
primary
#5955BE
secondary
#CCCEA1
accent
#D453CF
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83