#5755E5#5755E5

#5755E5 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.212 H 277.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5755E5
RGBrgb(87, 85, 229)
HSLhsl(241, 73%, 62%)
HSVhsv(241, 63%, 90%)
CMYKcmyk(62%, 62.9%, 0%, 10.2%)
CIE-LABlab(44.49, 43.06, -72.91)
CIE-LCHlch(44.49, 84.68, 300.57°)
OKLaboklab(53.92% 0.0266 -0.21)
OKLCHoklch(53.92% 0.212 277.2)
XYZxyz(21.3173, 14.1787, 75.7269)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755E5 #E3E555
analogous
#559BE5 #5755E5 #9F55E5
triadic
#5755E5 #E55755 #55E557
tetradic
#5755E5 #E5559B #E3E555 #55E59F
square
#5755E5 #E5559B #E3E555 #55E59F
split-complementary
#5755E5 #E59F55 #9BE555
monochromatic
#1B19A6 #2422DB #5755E5 #8B8AED #C0BFF5

Accessibility & contrast

On white

5.47
#5755E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5755E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755E5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755E5#FFFFFF#000000##FFFFFF
##5755E51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5755e5;
/* rgb */ color: rgb(87, 85, 229);
/* oklch */ color: oklch(53.9% 0.212 277.2);
Tailwind
colors: {
  custom: {
    50: '#9585ee',
    500: '#5755e5',
    950: '#000000',
  },
}
SCSS
$custom: #5755e5;
$custom-light: #9585ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5755e5",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 240.833,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53918,
    "c": 0.2117,
    "h": 277.2
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#5755E5
secondary
#E5E6B0
accent
#D610D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5755E5

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

Preview Lab → · Contrast checker → · Palette generator →

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