#5755E6#5755E6

#5755E6 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.213 H 277.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5755E6
RGBrgb(87, 85, 230)
HSLhsl(241, 74%, 62%)
HSVhsv(241, 63%, 90%)
CMYKcmyk(62.2%, 63%, 0%, 9.8%)
CIE-LABlab(44.57, 43.38, -73.34)
CIE-LCHlch(44.57, 85.21, 300.60°)
OKLaboklab(54% 0.0265 -0.2113)
OKLCHoklch(54% 0.213 277.1)
XYZxyz(21.4573, 14.2347, 76.4644)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755E6 #E4E655
analogous
#559BE6 #5755E6 #A055E6
triadic
#5755E6 #E65755 #55E657
tetradic
#5755E6 #E6559B #E4E655 #55E6A0
square
#5755E6 #E6559B #E4E655 #55E6A0
split-complementary
#5755E6 #E6A055 #9BE655
monochromatic
#1B19A8 #2321DD #5755E6 #8C8AEE #C0C0F6

Accessibility & contrast

On white

5.46
#5755E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5755E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755E6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755E6#FFFFFF#000000##FFFFFF
##5755E61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5755e6;
/* rgb */ color: rgb(87, 85, 230);
/* oklch */ color: oklch(54.0% 0.213 277.1);
Tailwind
colors: {
  custom: {
    50: '#9585ef',
    500: '#5755e6',
    950: '#000000',
  },
}
SCSS
$custom: #5755e6;
$custom-light: #9585ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5755e6",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 240.828,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.21297,
    "h": 277.1
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#5755E6
secondary
#E6E6B1
accent
#D60FD4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5755E6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5755E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva