#5757CF#5757CF

#5757CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.181 H 278.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5757CF
RGBrgb(87, 87, 207)
HSLhsl(240, 56%, 58%)
HSVhsv(240, 58%, 81%)
CMYKcmyk(58%, 58%, 0%, 18.8%)
CIE-LABlab(43.28, 34.76, -62.32)
CIE-LCHlch(43.28, 71.36, 299.15°)
OKLaboklab(52.51% 0.0257 -0.1789)
OKLCHoklch(52.51% 0.181 278.2)
XYZxyz(18.5976, 13.3463, 60.6155)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757CF #CFCF57
analogous
#5793CF #5757CF #9357CF
triadic
#5757CF #CF5757 #57CF57
tetradic
#5757CF #CF5793 #CFCF57 #57CF93
square
#5757CF #CF5793 #CFCF57 #57CF93
split-complementary
#5757CF #CF9357 #93CF57
monochromatic
#262685 #3434B5 #5757CF #8787DD #B6B6EA

Accessibility & contrast

On white

5.72
#5757CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5757CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757CF#FFFFFF#000000##FFFFFF
##5757CF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#03748A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5757cf;
/* rgb */ color: rgb(87, 87, 207);
/* oklch */ color: oklch(52.5% 0.181 278.2);
Tailwind
colors: {
  custom: {
    50: '#9186de',
    500: '#5757cf',
    950: '#000000',
  },
}
SCSS
$custom: #5757cf;
$custom-light: #9186de;
$custom-dark: #000000;
JSON
{
  "hex": "#5757cf",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.18074,
    "h": 278.2
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#5757CF
secondary
#D9D9A9
accent
#DF49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5757CF

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

Preview Lab → · Contrast checker → · Palette generator →

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