#5755F2#5755F2

#5755F2 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.0% C 0.228 H 276.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5755F2
RGBrgb(87, 85, 242)
HSLhsl(241, 86%, 64%)
HSVhsv(241, 65%, 95%)
CMYKcmyk(64%, 64.9%, 0%, 5.1%)
CIE-LABlab(45.54, 47.22, -78.52)
CIE-LCHlch(45.54, 91.62, 301.02°)
OKLaboklab(55.01% 0.0255 -0.2265)
OKLCHoklch(55.01% 0.228 276.4)
XYZxyz(23.2008, 14.9321, 85.6467)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5755F2 #F0F255
analogous
#55A2F2 #5755F2 #A655F2
triadic
#5755F2 #F25755 #55F257
tetradic
#5755F2 #F255A2 #F0F255 #55F2A6
square
#5755F2 #F255A2 #F0F255 #55F2A6
split-complementary
#5755F2 #F2A655 #A2F255
monochromatic
#110FBE #1F1CEE #5755F2 #8F8EF6 #C7C7FB

Accessibility & contrast

On white

5.27
#5755F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5755F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5755F2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5755F2#FFFFFF#000000##FFFFFF
##5755F21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0065EF
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5755f2;
/* rgb */ color: rgb(87, 85, 242);
/* oklch */ color: oklch(55.0% 0.228 276.4);
Tailwind
colors: {
  custom: {
    50: '#9786f8',
    500: '#5755f2',
    950: '#000000',
  },
}
SCSS
$custom: #5755f2;
$custom-light: #9786f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5755f2",
  "rgb": {
    "r": 87,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 240.764,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.22791,
    "h": 276.4
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#5755F2
secondary
#ECEDB6
accent
#E203DF
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5755F2

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

Preview Lab → · Contrast checker → · Palette generator →

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