#5757D2#5757D2

#5757D2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.185 H 278.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5757D2
RGBrgb(87, 87, 210)
HSLhsl(240, 58%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(58.6%, 58.6%, 0%, 17.6%)
CIE-LABlab(43.50, 35.73, -63.69)
CIE-LCHlch(43.50, 73.03, 299.29°)
OKLaboklab(52.74% 0.0257 -0.1829)
OKLCHoklch(52.74% 0.185 278)
XYZxyz(18.9678, 13.4944, 62.5654)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757D2 #D2D257
analogous
#5794D2 #5757D2 #9457D2
triadic
#5757D2 #D25757 #57D257
tetradic
#5757D2 #D25794 #D2D257 #57D294
square
#5757D2 #D25794 #D2D257 #57D294
split-complementary
#5757D2 #D29457 #94D257
monochromatic
#25258A #3232BA #5757D2 #8787DF #B8B8EC

Accessibility & contrast

On white

5.68
#5757D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5757D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757D2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757D2#FFFFFF#000000##FFFFFF
##5757D21.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5757d2;
/* rgb */ color: rgb(87, 87, 210);
/* oklch */ color: oklch(52.7% 0.185 278.0);
Tailwind
colors: {
  custom: {
    50: '#9286e1',
    500: '#5757d2',
    950: '#000000',
  },
}
SCSS
$custom: #5757d2;
$custom-light: #9286e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5757d2",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 240,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.18472,
    "h": 278
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#5757D2
secondary
#DBDBAA
accent
#E147E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5757D2

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

Preview Lab → · Contrast checker → · Palette generator →

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