#5757F6#5757F6

#5757F6 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.231 H 275.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5757F6
RGBrgb(87, 87, 246)
HSLhsl(240, 90%, 65%)
HSVhsv(240, 65%, 96%)
CMYKcmyk(64.6%, 64.6%, 0%, 3.5%)
CIE-LABlab(46.30, 47.34, -79.51)
CIE-LCHlch(46.30, 92.53, 300.77°)
OKLaboklab(55.67% 0.0236 -0.2294)
OKLCHoklch(55.67% 0.231 275.9)
XYZxyz(23.9678, 15.4944, 88.8986)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757F6 #F6F657
analogous
#57A6F6 #5757F6 #A657F6
triadic
#5757F6 #F65757 #57F657
tetradic
#5757F6 #F657A6 #F6F657 #57F6A6
square
#5757F6 #F657A6 #F6F657 #57F6A6
split-complementary
#5757F6 #F6A657 #A6F657
monochromatic
#0B0BC8 #1D1DF3 #5757F6 #9191F9 #CBCBFC

Accessibility & contrast

On white

5.12
#5757F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5757F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757F6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757F6#FFFFFF#000000##FFFFFF
##5757F61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#0067F3
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5757f6;
/* rgb */ color: rgb(87, 87, 246);
/* oklch */ color: oklch(55.7% 0.231 275.9);
Tailwind
colors: {
  custom: {
    50: '#9887fa',
    500: '#5757f6',
    950: '#000000',
  },
}
SCSS
$custom: #5757f6;
$custom-light: #9887fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5757f6",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 240,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.23059,
    "h": 275.9
  },
  "luminance": 0.15496
}

Semantic roles & 50–950 ramp

primary
#5757F6
secondary
#EFEFBA
accent
#E600E5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5757F6

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

Preview Lab → · Contrast checker → · Palette generator →

#5757F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva