#5755B2#5755B2
#5755B2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.144 H 280.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5755B2 |
|---|---|
| RGB | rgb(87, 85, 178) |
| HSL | hsl(241, 38%, 52%) |
| HSV | hsv(241, 52%, 70%) |
| CMYK | cmyk(51.1%, 52.2%, 0%, 30.2%) |
| CIE-LAB | lab(40.79, 26.67, -49.46) |
| CIE-LCH | lch(40.79, 56.19, 298.33°) |
| OKLab | oklab(50.02% 0.027 -0.1411) |
| OKLCH | oklch(50.02% 0.144 280.8) |
| XYZ | xyz(15.2124, 11.7367, 43.5747) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.37
Slate Blue
#6A5ACD
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.80
Dark Periwinkle
#665FD1
ΔE00 5.89
Light Indigo
#6D5ACF
ΔE00 5.90
Warm Blue
#4B57DB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5755B2 #B0B255
analogous
#5582B2 #5755B2 #8655B2
triadic
#5755B2 #B25755 #55B257
tetradic
#5755B2 #B25582 #B0B255 #55B286
square
#5755B2 #B25582 #B0B255 #55B286
split-complementary
#5755B2 #B28655 #82B255
monochromatic
#2D2C61 #413F8B #5755B2 #817FC5 #AAA9D8
Accessibility & contrast
On white
6.27
#5755B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5755B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5755B2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5755B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5755B2 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#336A7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5755b2; /* rgb */ color: rgb(87, 85, 178); /* oklch */ color: oklch(50.0% 0.144 280.8);
Tailwind
colors: {
custom: {
50: '#8d85ca',
500: '#5755b2',
950: '#000000',
},
}SCSS
$custom: #5755b2; $custom-light: #8d85ca; $custom-dark: #000000;
JSON
{
"hex": "#5755b2",
"rgb": {
"r": 87,
"g": 85,
"b": 178
},
"hsl": {
"h": 241.29,
"s": 37.652,
"l": 51.569
},
"oklch": {
"l": 0.50022,
"c": 0.14366,
"h": 280.8
},
"luminance": 0.11738
}Semantic roles & 50–950 ramp
primary
#5755B2
secondary
#C5C69D
accent
#CE5ACB
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82