#5755D2#5755D2

#5755D2 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.187 H 278.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5755D2
RGBrgb(87, 85, 210)
HSLhsl(241, 58%, 58%)
HSVhsv(241, 60%, 82%)
CMYKcmyk(58.6%, 59.5%, 0%, 17.6%)
CIE-LABlab(43.03, 36.94, -64.46)
CIE-LCHlch(43.03, 74.29, 299.82°)
OKLaboklab(52.39% 0.0276 -0.1852)
OKLCHoklch(52.39% 0.187 278.5)
XYZxyz(18.8081, 13.1750, 62.5122)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755D2 #D0D255
analogous
#5591D2 #5755D2 #9555D2
triadic
#5755D2 #D25755 #55D257
tetradic
#5755D2 #D25591 #D0D255 #55D295
square
#5755D2 #D25591 #D0D255 #55D295
split-complementary
#5755D2 #D29555 #91D255
monochromatic
#262488 #3331B9 #5755D2 #8785DF #B7B6EC

Accessibility & contrast

On white

5.78
#5755D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5755D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755D2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755D2#FFFFFF#000000##FFFFFF
##5755D21.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5755d2;
/* rgb */ color: rgb(87, 85, 210);
/* oklch */ color: oklch(52.4% 0.187 278.5);
Tailwind
colors: {
  custom: {
    50: '#9285e1',
    500: '#5755d2',
    950: '#000000',
  },
}
SCSS
$custom: #5755d2;
$custom-light: #9285e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5755d2",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 240.96,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52388,
    "c": 0.18724,
    "h": 278.5
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#5755D2
secondary
#DADAA8
accent
#E146DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5755D2

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

Preview Lab → · Contrast checker → · Palette generator →

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