#5756CA#5756CA

#5756CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.175 H 278.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5756CA
RGBrgb(87, 86, 202)
HSLhsl(241, 52%, 56%)
HSVhsv(241, 57%, 79%)
CMYKcmyk(56.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(42.68, 33.75, -60.41)
CIE-LCHlch(42.68, 69.20, 299.19°)
OKLaboklab(51.95% 0.0267 -0.1733)
OKLCHoklch(51.95% 0.175 278.8)
XYZxyz(17.9156, 12.9449, 57.4202)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756CA #C9CA56
analogous
#568FCA #5756CA #9156CA
triadic
#5756CA #CA5756 #56CA57
tetradic
#5756CA #CA568F #C9CA56 #56CA91
square
#5756CA #CA568F #C9CA56 #56CA91
split-complementary
#5756CA #CA9156 #8FCA56
monochromatic
#28287E #3736AD #5756CA #8585D9 #B4B3E7

Accessibility & contrast

On white

5.85
#5756CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5756CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756CA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756CA#FFFFFF#000000##FFFFFF
##5756CA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#147188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5756ca;
/* rgb */ color: rgb(87, 86, 202);
/* oklch */ color: oklch(51.9% 0.175 278.8);
Tailwind
colors: {
  custom: {
    50: '#9086db',
    500: '#5756ca',
    950: '#000000',
  },
}
SCSS
$custom: #5756ca;
$custom-light: #9086db;
$custom-dark: #000000;
JSON
{
  "hex": "#5756ca",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 240.517,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.17535,
    "h": 278.8
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#5756CA
secondary
#D5D6A6
accent
#DC4CDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5756CA

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

Preview Lab → · Contrast checker → · Palette generator →

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