#5757CB#5757CB

#5757CB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.175 H 278.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5757CB
RGBrgb(87, 87, 203)
HSLhsl(240, 53%, 57%)
HSVhsv(240, 57%, 80%)
CMYKcmyk(57.1%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.99, 33.46, -60.48)
CIE-LCHlch(42.99, 69.12, 298.95°)
OKLaboklab(52.2% 0.0257 -0.1735)
OKLCHoklch(52.2% 0.175 278.4)
XYZxyz(18.1147, 13.1532, 58.0726)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757CB #CBCB57
analogous
#5791CB #5757CB #9157CB
triadic
#5757CB #CB5757 #57CB57
tetradic
#5757CB #CB5791 #CBCB57 #57CB91
square
#5757CB #CB5791 #CBCB57 #57CB91
split-complementary
#5757CB #CB9157 #91CB57
monochromatic
#282880 #3636AF #5757CB #8686D9 #B4B4E8

Accessibility & contrast

On white

5.78
#5757CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5757CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757CB#FFFFFF#000000##FFFFFF
##5757CB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#117288
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5757cb;
/* rgb */ color: rgb(87, 87, 203);
/* oklch */ color: oklch(52.2% 0.175 278.4);
Tailwind
colors: {
  custom: {
    50: '#9086dc',
    500: '#5757cb',
    950: '#000000',
  },
}
SCSS
$custom: #5757cb;
$custom-light: #9086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5757cb",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.17539,
    "h": 278.4
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#5757CB
secondary
#D7D7A7
accent
#DC4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5757CB

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

Preview Lab → · Contrast checker → · Palette generator →

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