#5757CD#5757CD

#5757CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.178 H 278.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5757CD
RGBrgb(87, 87, 205)
HSLhsl(240, 54%, 57%)
HSVhsv(240, 58%, 80%)
CMYKcmyk(57.6%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.14, 34.11, -61.40)
CIE-LCHlch(43.14, 70.24, 299.05°)
OKLaboklab(52.35% 0.0257 -0.1762)
OKLCHoklch(52.35% 0.178 278.3)
XYZxyz(18.3546, 13.2491, 59.3359)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757CD #CDCD57
analogous
#5792CD #5757CD #9257CD
triadic
#5757CD #CD5757 #57CD57
tetradic
#5757CD #CD5792 #CDCD57 #57CD92
square
#5757CD #CD5792 #CDCD57 #57CD92
split-complementary
#5757CD #CD9257 #92CD57
monochromatic
#272783 #3535B2 #5757CD #8686DB #B5B5E9

Accessibility & contrast

On white

5.75
#5757CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5757CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757CD#FFFFFF#000000##FFFFFF
##5757CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#0B7389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5757cd;
/* rgb */ color: rgb(87, 87, 205);
/* oklch */ color: oklch(52.4% 0.178 278.3);
Tailwind
colors: {
  custom: {
    50: '#9186dd',
    500: '#5757cd',
    950: '#000000',
  },
}
SCSS
$custom: #5757cd;
$custom-light: #9186dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5757cd",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.17807,
    "h": 278.3
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#5757CD
secondary
#D8D8A8
accent
#DD4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5757CD

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

Preview Lab → · Contrast checker → · Palette generator →

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