#5757D9#5757D9

#5757D9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.194 H 277.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5757D9
RGBrgb(87, 87, 217)
HSLhsl(240, 63%, 60%)
HSVhsv(240, 60%, 85%)
CMYKcmyk(59.9%, 59.9%, 0%, 14.9%)
CIE-LABlab(44.02, 37.99, -66.85)
CIE-LCHlch(44.02, 76.89, 299.61°)
OKLaboklab(53.28% 0.0255 -0.1922)
OKLCHoklch(53.28% 0.194 277.6)
XYZxyz(19.8590, 13.8509, 67.2592)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757D9 #D9D957
analogous
#5798D9 #5757D9 #9857D9
triadic
#5757D9 #D95757 #57D957
tetradic
#5757D9 #D95798 #D9D957 #57D998
square
#5757D9 #D95798 #D9D957 #57D998
split-complementary
#5757D9 #D99857 #98D957
monochromatic
#212194 #2D2DC6 #5757D9 #8989E4 #BBBBF0

Accessibility & contrast

On white

5.57
#5757D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5757D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757D9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757D9#FFFFFF#000000##FFFFFF
##5757D91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5757d9;
/* rgb */ color: rgb(87, 87, 217);
/* oklch */ color: oklch(53.3% 0.194 277.6);
Tailwind
colors: {
  custom: {
    50: '#9386e6',
    500: '#5757d9',
    950: '#000000',
  },
}
SCSS
$custom: #5757d9;
$custom-light: #9386e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5757d9",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.19391,
    "h": 277.6
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#5757D9
secondary
#DFDFAD
accent
#E642E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5757D9

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

Preview Lab → · Contrast checker → · Palette generator →

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