#5757F0#5757F0

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

Color values

HEX#5757F0
RGBrgb(87, 87, 240)
HSLhsl(240, 84%, 64%)
HSVhsv(240, 64%, 94%)
CMYKcmyk(63.7%, 63.7%, 0%, 5.9%)
CIE-LABlab(45.81, 45.41, -76.95)
CIE-LCHlch(45.81, 89.35, 300.55°)
OKLaboklab(55.16% 0.0242 -0.2219)
OKLCHoklch(55.16% 0.223 276.2)
XYZxyz(23.0617, 15.1320, 84.1266)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757F0 #F0F057
analogous
#57A4F0 #5757F0 #A457F0
triadic
#5757F0 #F05757 #57F057
tetradic
#5757F0 #F057A4 #F0F057 #57F0A4
square
#5757F0 #F057A4 #F0F057 #57F0A4
split-complementary
#5757F0 #F0A457 #A4F057
monochromatic
#1111BC #1F1FEB #5757F0 #8F8FF5 #C7C7FA

Accessibility & contrast

On white

5.22
#5757F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5757F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757F0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757F0#FFFFFF#000000##FFFFFF
##5757F01.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0066ED
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5757f0;
/* rgb */ color: rgb(87, 87, 240);
/* oklch */ color: oklch(55.2% 0.223 276.2);
Tailwind
colors: {
  custom: {
    50: '#9787f6',
    500: '#5757f0',
    950: '#000000',
  },
}
SCSS
$custom: #5757f0;
$custom-light: #9787f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5757f0",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 240,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.22317,
    "h": 276.2
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#5757F0
secondary
#ECECB7
accent
#E005E0
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5757F0

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

Preview Lab → · Contrast checker → · Palette generator →

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