#5757FA#5757FA

#5757FA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 56.0% C 0.235 H 275.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5757FA
RGBrgb(87, 87, 250)
HSLhsl(240, 94%, 66%)
HSVhsv(240, 65%, 98%)
CMYKcmyk(65.2%, 65.2%, 0%, 2%)
CIE-LABlab(46.63, 48.61, -81.20)
CIE-LCHlch(46.63, 94.64, 300.91°)
OKLaboklab(56.01% 0.0233 -0.2343)
OKLCHoklch(56.01% 0.235 275.7)
XYZxyz(24.5883, 15.7426, 92.1668)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757FA #FAFA57
analogous
#57A8FA #5757FA #A857FA
triadic
#5757FA #FA5757 #57FA57
tetradic
#5757FA #FA57A8 #FAFA57 #57FAA8
square
#5757FA #FA57A8 #FAFA57 #57FAA8
split-complementary
#5757FA #FAA857 #A8FA57
monochromatic
#0606D0 #1C1CF8 #5757FA #9292FC #CECEFE

Accessibility & contrast

On white

5.06
#5757FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5757FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757FA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757FA#FFFFFF#000000##FFFFFF
##5757FA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0067F7
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5757fa;
/* rgb */ color: rgb(87, 87, 250);
/* oklch */ color: oklch(56.0% 0.235 275.7);
Tailwind
colors: {
  custom: {
    50: '#9987fd',
    500: '#5757fa',
    950: '#000000',
  },
}
SCSS
$custom: #5757fa;
$custom-light: #9987fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5757fa",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.23549,
    "h": 275.7
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5757FA

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

Preview Lab → · Contrast checker → · Palette generator →

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