#5757DC#5757DC

#5757DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.5% C 0.198 H 277.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5757DC
RGBrgb(87, 87, 220)
HSLhsl(240, 66%, 60%)
HSVhsv(240, 60%, 86%)
CMYKcmyk(60.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.24, 38.97, -68.19)
CIE-LCHlch(44.24, 78.54, 299.74°)
OKLaboklab(53.52% 0.0254 -0.1962)
OKLCHoklch(53.52% 0.198 277.4)
XYZxyz(20.2528, 14.0084, 69.3329)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757DC #DCDC57
analogous
#5799DC #5757DC #9957DC
triadic
#5757DC #DC5757 #57DC57
tetradic
#5757DC #DC5799 #DCDC57 #57DC99
square
#5757DC #DC5799 #DCDC57 #57DC99
split-complementary
#5757DC #DC9957 #99DC57
monochromatic
#202099 #2A2ACB #5757DC #8A8AE7 #BCBCF1

Accessibility & contrast

On white

5.52
#5757DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5757DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757DC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757DC#FFFFFF#000000##FFFFFF
##5757DC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5757dc;
/* rgb */ color: rgb(87, 87, 220);
/* oklch */ color: oklch(53.5% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#9386e8',
    500: '#5757dc',
    950: '#000000',
  },
}
SCSS
$custom: #5757dc;
$custom-light: #9386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5757dc",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53522,
    "c": 0.19781,
    "h": 277.4
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#5757DC
secondary
#E1E1AE
accent
#CD18CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5757DC

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

Preview Lab → · Contrast checker → · Palette generator →

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