#5755EC#5755EC

#5755EC is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.220 H 276.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5755EC
RGBrgb(87, 85, 236)
HSLhsl(241, 80%, 63%)
HSVhsv(241, 64%, 93%)
CMYKcmyk(63.1%, 64%, 0%, 7.5%)
CIE-LABlab(45.05, 45.30, -75.94)
CIE-LCHlch(45.05, 88.43, 300.82°)
OKLaboklab(54.5% 0.026 -0.2189)
OKLCHoklch(54.5% 0.22 276.8)
XYZxyz(22.3144, 14.5775, 80.9784)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755EC #EAEC55
analogous
#559EEC #5755EC #A355EC
triadic
#5755EC #EC5755 #55EC57
tetradic
#5755EC #EC559E #EAEC55 #55ECA3
square
#5755EC #EC559E #EAEC55 #55ECA3
split-complementary
#5755EC #ECA355 #9EEC55
monochromatic
#1614B3 #211EE6 #5755EC #8D8CF2 #C4C3F8

Accessibility & contrast

On white

5.36
#5755EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5755EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755EC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755EC#FFFFFF#000000##FFFFFF
##5755EC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5755ec;
/* rgb */ color: rgb(87, 85, 236);
/* oklch */ color: oklch(54.5% 0.220 276.8);
Tailwind
colors: {
  custom: {
    50: '#9685f3',
    500: '#5755ec',
    950: '#000000',
  },
}
SCSS
$custom: #5755ec;
$custom-light: #9685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5755ec",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 240.795,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.22048,
    "h": 276.8
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#5755EC
secondary
#E9EAB3
accent
#DC09D9
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5755EC

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

Preview Lab → · Contrast checker → · Palette generator →

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