#5756EF#5756EF

#5756EF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.223 H 276.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5756EF
RGBrgb(87, 86, 239)
HSLhsl(240, 83%, 64%)
HSVhsv(240, 64%, 94%)
CMYKcmyk(63.6%, 64%, 0%, 6.3%)
CIE-LABlab(45.51, 45.68, -76.88)
CIE-LCHlch(45.51, 89.42, 300.72°)
OKLaboklab(54.92% 0.025 -0.2217)
OKLCHoklch(54.92% 0.223 276.4)
XYZxyz(22.8332, 14.9119, 83.3196)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756EF #EEEF56
analogous
#56A1EF #5756EF #A356EF
triadic
#5756EF #EF5756 #56EF57
tetradic
#5756EF #EF56A1 #EEEF56 #56EFA3
square
#5756EF #EF56A1 #EEEF56 #56EFA3
split-complementary
#5756EF #EFA356 #A1EF56
monochromatic
#1312B9 #1F1EEA #5756EF #8F8EF4 #C6C6FA

Accessibility & contrast

On white

5.27
#5756EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5756EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756EF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756EF#FFFFFF#000000##FFFFFF
##5756EF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5756ef;
/* rgb */ color: rgb(87, 86, 239);
/* oklch */ color: oklch(54.9% 0.223 276.4);
Tailwind
colors: {
  custom: {
    50: '#9786f5',
    500: '#5756ef',
    950: '#000000',
  },
}
SCSS
$custom: #5756ef;
$custom-light: #9786f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5756ef",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 240.392,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.22307,
    "h": 276.4
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#5756EF
secondary
#EBEBB5
accent
#DF06DE
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5756EF

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

Preview Lab → · Contrast checker → · Palette generator →

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