#5757FD#5757FD

#5757FD is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.3% C 0.239 H 275.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5757FD
RGBrgb(87, 87, 253)
HSLhsl(240, 98%, 67%)
HSVhsv(240, 66%, 99%)
CMYKcmyk(65.6%, 65.6%, 0%, 0.8%)
CIE-LABlab(46.89, 49.57, -82.46)
CIE-LCHlch(46.89, 96.21, 301.01°)
OKLaboklab(56.27% 0.023 -0.238)
OKLCHoklch(56.27% 0.239 275.5)
XYZxyz(25.0625, 15.9323, 94.6639)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757FD #FDFD57
analogous
#57AAFD #5757FD #AA57FD
triadic
#5757FD #FD5757 #57FD57
tetradic
#5757FD #FD57AA #FDFD57 #57FDAA
square
#5757FD #FD57AA #FDFD57 #57FDAA
split-complementary
#5757FD #FDAA57 #AAFD57
monochromatic
#0303D7 #1B1BFC #5757FD #9393FE #D0D0FE

Accessibility & contrast

On white

5.02
#5757FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5757FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757FD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757FD#FFFFFF#000000##FFFFFF
##5757FD1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0068FA
Tritanopia (blue-blind)
#0083A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5757fd;
/* rgb */ color: rgb(87, 87, 253);
/* oklch */ color: oklch(56.3% 0.239 275.5);
Tailwind
colors: {
  custom: {
    50: '#9987ff',
    500: '#5757fd',
    950: '#000000',
  },
}
SCSS
$custom: #5757fd;
$custom-light: #9987ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5757fd",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 253
  },
  "hsl": {
    "h": 240,
    "s": 97.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.23913,
    "h": 275.5
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#5757FD
secondary
#F3F3BD
accent
#E600E5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5757FD

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

Preview Lab → · Contrast checker → · Palette generator →

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