#5955BF#5955BF
#5955BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.161 H 280.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5955BF |
|---|---|
| RGB | rgb(89, 85, 191) |
| HSL | hsl(242, 45%, 54%) |
| HSV | hsv(242, 55%, 75%) |
| CMYK | cmyk(53.4%, 55.5%, 0%, 25.1%) |
| CIE-LAB | lab(41.82, 31.23, -55.42) |
| CIE-LCH | lch(41.82, 63.61, 299.40°) |
| OKLab | oklab(51.1% 0.03 -0.1586) |
| OKLCH | oklch(51.1% 0.161 280.7) |
| XYZ | xyz(16.7694, 12.3814, 50.7863) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.86
Slate Blue
#6A5ACD
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.37
Dark Periwinkle
#665FD1
ΔE00 4.42
Ocean Blue
#4F42B5
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5955BF #BBBF55
analogous
#5586BF #5955BF #8E55BF
triadic
#5955BF #BF5955 #55BF59
tetradic
#5955BF #BF5586 #BBBF55 #55BF8E
square
#5955BF #BF5586 #BBBF55 #55BF8E
split-complementary
#5955BF #BF8E55 #86BF55
monochromatic
#2D2A70 #3E3B9C #5955BF #8481D0 #B0AEE0
Accessibility & contrast
On white
6.04
#5955BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5955BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5955BF
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5955BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5955BF | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D67C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#2C6D82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5955bf; /* rgb */ color: rgb(89, 85, 191); /* oklch */ color: oklch(51.1% 0.161 280.7);
Tailwind
colors: {
custom: {
50: '#9085d3',
500: '#5955bf',
950: '#000000',
},
}SCSS
$custom: #5955bf; $custom-light: #9085d3; $custom-dark: #000000;
JSON
{
"hex": "#5955bf",
"rgb": {
"r": 89,
"g": 85,
"b": 191
},
"hsl": {
"h": 242.264,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.511,
"c": 0.16139,
"h": 280.7
},
"luminance": 0.12382
}Semantic roles & 50–950 ramp
primary
#5955BF
secondary
#CDCEA1
accent
#D553D0
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83