#5755CE#5755CE

#5755CE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.182 H 278.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5755CE
RGBrgb(87, 85, 206)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 59%, 81%)
CMYKcmyk(57.8%, 58.7%, 0%, 19.2%)
CIE-LABlab(42.73, 35.65, -62.64)
CIE-LCHlch(42.73, 72.07, 299.65°)
OKLaboklab(52.08% 0.0277 -0.1798)
OKLCHoklch(52.08% 0.182 278.7)
XYZxyz(18.3160, 12.9782, 59.9204)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755CE #CCCE55
analogous
#558FCE #5755CE #9455CE
triadic
#5755CE #CE5755 #55CE57
tetradic
#5755CE #CE558F #CCCE55 #55CE94
square
#5755CE #CE558F #CCCE55 #55CE94
split-complementary
#5755CE #CE9455 #8FCE55
monochromatic
#272683 #3633B2 #5755CE #8685DC #B5B4E9

Accessibility & contrast

On white

5.84
#5755CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5755CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755CE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755CE#FFFFFF#000000##FFFFFF
##5755CE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#087289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5755ce;
/* rgb */ color: rgb(87, 85, 206);
/* oklch */ color: oklch(52.1% 0.182 278.7);
Tailwind
colors: {
  custom: {
    50: '#9185de',
    500: '#5755ce',
    950: '#000000',
  },
}
SCSS
$custom: #5755ce;
$custom-light: #9185de;
$custom-dark: #000000;
JSON
{
  "hex": "#5755ce",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 240.992,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.18196,
    "h": 278.7
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#5755CE
secondary
#D7D8A7
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5755CE

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

Preview Lab → · Contrast checker → · Palette generator →

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