#5756CF#5756CF

#5756CF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.182 H 278.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5756CF
RGBrgb(87, 86, 207)
HSLhsl(240, 56%, 57%)
HSVhsv(240, 58%, 81%)
CMYKcmyk(58%, 58.5%, 0%, 18.8%)
CIE-LABlab(43.04, 35.37, -62.71)
CIE-LCHlch(43.04, 71.99, 299.42°)
OKLaboklab(52.33% 0.0267 -0.18)
OKLCHoklch(52.33% 0.182 278.4)
XYZxyz(18.5172, 13.1855, 60.5887)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756CF #CECF56
analogous
#5691CF #5756CF #9456CF
triadic
#5756CF #CF5756 #56CF57
tetradic
#5756CF #CF5691 #CECF56 #56CF94
square
#5756CF #CF5691 #CECF56 #56CF94
split-complementary
#5756CF #CF9456 #91CF56
monochromatic
#272685 #3433B5 #5756CF #8686DD #B6B5EA

Accessibility & contrast

On white

5.77
#5756CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5756CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756CF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756CF#FFFFFF#000000##FFFFFF
##5756CF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5756cf;
/* rgb */ color: rgb(87, 86, 207);
/* oklch */ color: oklch(52.3% 0.182 278.4);
Tailwind
colors: {
  custom: {
    50: '#9186de',
    500: '#5756cf',
    950: '#000000',
  },
}
SCSS
$custom: #5756cf;
$custom-light: #9186de;
$custom-dark: #000000;
JSON
{
  "hex": "#5756cf",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 240.496,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5233,
    "c": 0.18201,
    "h": 278.4
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#5756CF
secondary
#D8D9A8
accent
#DF49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5756CF

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

Preview Lab → · Contrast checker → · Palette generator →

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