#5756DF#5756DF

#5756DF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.6% C 0.203 H 277.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5756DF
RGBrgb(87, 86, 223)
HSLhsl(240, 68%, 61%)
HSVhsv(240, 61%, 87%)
CMYKcmyk(61%, 61.4%, 0%, 12.5%)
CIE-LABlab(44.24, 40.54, -69.90)
CIE-LCHlch(44.24, 80.81, 300.11°)
OKLaboklab(53.59% 0.0261 -0.2012)
OKLCHoklch(53.59% 0.203 277.4)
XYZxyz(20.5733, 14.0079, 71.4174)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756DF #DEDF56
analogous
#5699DF #5756DF #9B56DF
triadic
#5756DF #DF5756 #56DF57
tetradic
#5756DF #DF5699 #DEDF56 #56DF9B
square
#5756DF #DF5699 #DEDF56 #56DF9B
split-complementary
#5756DF #DF9B56 #99DF56
monochromatic
#1F1E9D #2927D0 #5756DF #8A89E9 #BDBDF2

Accessibility & contrast

On white

5.52
#5756DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5756DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756DF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756DF#FFFFFF#000000##FFFFFF
##5756DF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5756df;
/* rgb */ color: rgb(87, 86, 223);
/* oklch */ color: oklch(53.6% 0.203 277.4);
Tailwind
colors: {
  custom: {
    50: '#9486ea',
    500: '#5756df',
    950: '#000000',
  },
}
SCSS
$custom: #5756df;
$custom-light: #9486ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5756df",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 240.438,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53593,
    "c": 0.20289,
    "h": 277.4
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#5756DF
secondary
#E2E2AE
accent
#D015CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5756DF

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

Preview Lab → · Contrast checker → · Palette generator →

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