#5757F1#5757F1

#5757F1 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.224 H 276.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5757F1
RGBrgb(87, 87, 241)
HSLhsl(240, 85%, 64%)
HSVhsv(240, 64%, 95%)
CMYKcmyk(63.9%, 63.9%, 0%, 5.5%)
CIE-LABlab(45.90, 45.74, -77.37)
CIE-LCHlch(45.90, 89.88, 300.59°)
OKLaboklab(55.24% 0.0241 -0.2231)
OKLCHoklch(55.24% 0.224 276.2)
XYZxyz(23.2107, 15.1915, 84.9111)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757F1 #F1F157
analogous
#57A4F1 #5757F1 #A457F1
triadic
#5757F1 #F15757 #57F157
tetradic
#5757F1 #F157A4 #F1F157 #57F1A4
square
#5757F1 #F157A4 #F1F157 #57F1A4
split-complementary
#5757F1 #F1A457 #A4F157
monochromatic
#1010BE #1F1FEC #5757F1 #8F8FF6 #C8C8FA

Accessibility & contrast

On white

5.20
#5757F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5757F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757F1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757F1#FFFFFF#000000##FFFFFF
##5757F11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F6
Deuteranopia (green-blind)
#0066EE
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5757f1;
/* rgb */ color: rgb(87, 87, 241);
/* oklch */ color: oklch(55.2% 0.224 276.2);
Tailwind
colors: {
  custom: {
    50: '#9787f7',
    500: '#5757f1',
    950: '#000000',
  },
}
SCSS
$custom: #5757f1;
$custom-light: #9787f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5757f1",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 241
  },
  "hsl": {
    "h": 240,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.22441,
    "h": 276.2
  },
  "luminance": 0.15194
}

Semantic roles & 50–950 ramp

primary
#5757F1
secondary
#EDEDB7
accent
#E104E1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5757F1

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

Preview Lab → · Contrast checker → · Palette generator →

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