#5757DF#5757DF

#5757DF is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.202 H 277.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5757DF
RGBrgb(87, 87, 223)
HSLhsl(240, 68%, 61%)
HSVhsv(240, 61%, 87%)
CMYKcmyk(61%, 61%, 0%, 12.5%)
CIE-LABlab(44.47, 39.94, -69.53)
CIE-LCHlch(44.47, 80.18, 299.87°)
OKLaboklab(53.76% 0.0253 -0.2001)
OKLCHoklch(53.76% 0.202 277.2)
XYZxyz(20.6537, 14.1687, 71.4442)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757DF #DFDF57
analogous
#579BDF #5757DF #9B57DF
triadic
#5757DF #DF5757 #57DF57
tetradic
#5757DF #DF579B #DFDF57 #57DF9B
square
#5757DF #DF579B #DFDF57 #57DF9B
split-complementary
#5757DF #DF9B57 #9BDF57
monochromatic
#1E1E9E #2828D1 #5757DF #8A8AE9 #BEBEF3

Accessibility & contrast

On white

5.48
#5757DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5757DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757DF#FFFFFF#000000##FFFFFF
##5757DF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5757df;
/* rgb */ color: rgb(87, 87, 223);
/* oklch */ color: oklch(53.8% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#9487ea',
    500: '#5757df',
    950: '#000000',
  },
}
SCSS
$custom: #5757df;
$custom-light: #9487ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5757df",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.20168,
    "h": 277.2
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#5757DF
secondary
#E3E3AF
accent
#D016D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5757DF

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

Preview Lab → · Contrast checker → · Palette generator →

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