#5757CA#5757CA

#5757CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.174 H 278.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5757CA
RGBrgb(87, 87, 202)
HSLhsl(240, 52%, 57%)
HSVhsv(240, 57%, 79%)
CMYKcmyk(56.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.92, 33.14, -60.02)
CIE-LCHlch(42.92, 68.56, 298.90°)
OKLaboklab(52.13% 0.0257 -0.1721)
OKLCHoklch(52.13% 0.174 278.5)
XYZxyz(17.9960, 13.1057, 57.4470)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757CA #CACA57
analogous
#5791CA #5757CA #9157CA
triadic
#5757CA #CA5757 #57CA57
tetradic
#5757CA #CA5791 #CACA57 #57CA91
square
#5757CA #CA5791 #CACA57 #57CA91
split-complementary
#5757CA #CA9157 #91CA57
monochromatic
#28287F #3737AD #5757CA #8686D9 #B4B4E7

Accessibility & contrast

On white

5.80
#5757CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5757CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757CA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757CA#FFFFFF#000000##FFFFFF
##5757CA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#147288
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5757ca;
/* rgb */ color: rgb(87, 87, 202);
/* oklch */ color: oklch(52.1% 0.174 278.5);
Tailwind
colors: {
  custom: {
    50: '#9086db',
    500: '#5757ca',
    950: '#000000',
  },
}
SCSS
$custom: #5757ca;
$custom-light: #9086db;
$custom-dark: #000000;
JSON
{
  "hex": "#5757ca",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.17405,
    "h": 278.5
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#5757CA
secondary
#D6D6A7
accent
#DB4CDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5757CA

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

Preview Lab → · Contrast checker → · Palette generator →

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