#5757D3#5757D3

#5757D3 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.186 H 277.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5757D3
RGBrgb(87, 87, 211)
HSLhsl(240, 58%, 58%)
HSVhsv(240, 59%, 83%)
CMYKcmyk(58.8%, 58.8%, 0%, 17.3%)
CIE-LABlab(43.57, 36.05, -64.14)
CIE-LCHlch(43.57, 73.58, 299.34°)
OKLaboklab(52.82% 0.0257 -0.1843)
OKLCHoklch(52.82% 0.186 277.9)
XYZxyz(19.0928, 13.5444, 63.2236)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757D3 #D3D357
analogous
#5795D3 #5757D3 #9557D3
triadic
#5757D3 #D35757 #57D357
tetradic
#5757D3 #D35795 #D3D357 #57D395
square
#5757D3 #D35795 #D3D357 #57D395
split-complementary
#5757D3 #D39557 #95D357
monochromatic
#24248B #3131BC #5757D3 #8787E0 #B8B8EC

Accessibility & contrast

On white

5.66
#5757D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5757D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757D3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757D3#FFFFFF#000000##FFFFFF
##5757D31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5757d3;
/* rgb */ color: rgb(87, 87, 211);
/* oklch */ color: oklch(52.8% 0.186 277.9);
Tailwind
colors: {
  custom: {
    50: '#9286e1',
    500: '#5757d3',
    950: '#000000',
  },
}
SCSS
$custom: #5757d3;
$custom-light: #9286e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5757d3",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 211
  },
  "hsl": {
    "h": 240,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.18604,
    "h": 277.9
  },
  "luminance": 0.13546
}

Semantic roles & 50–950 ramp

primary
#5757D3
secondary
#DCDCAA
accent
#E246E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5757D3

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

Preview Lab → · Contrast checker → · Palette generator →

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