#5657DA#5657DA

#5657DA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.195 H 277.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5657DA
RGBrgb(86, 87, 218)
HSLhsl(240, 64%, 60%)
HSVhsv(240, 61%, 85%)
CMYKcmyk(60.6%, 60.1%, 0%, 14.5%)
CIE-LABlab(44.02, 38.16, -67.41)
CIE-LCHlch(44.02, 77.46, 299.51°)
OKLaboklab(53.29% 0.0243 -0.1939)
OKLCHoklch(53.29% 0.195 277.1)
XYZxyz(19.8968, 13.8552, 67.9419)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657DA #DAD956
analogous
#5699DA #5657DA #9756DA
triadic
#5657DA #DA5657 #57DA56
tetradic
#5657DA #DA5699 #DAD956 #56DA97
square
#5657DA #DA5699 #DAD956 #56DA97
split-complementary
#5657DA #DA9756 #99DA56
monochromatic
#212195 #2C2DC7 #5657DA #8889E5 #BABBF0

Accessibility & contrast

On white

5.57
#5657DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5657DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657DA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657DA#FFFFFF#000000##FFFFFF
##5657DA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5657da;
/* rgb */ color: rgb(86, 87, 218);
/* oklch */ color: oklch(53.3% 0.195 277.1);
Tailwind
colors: {
  custom: {
    50: '#9286e6',
    500: '#5657da',
    950: '#000000',
  },
}
SCSS
$custom: #5657da;
$custom-light: #9286e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5657da",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 239.545,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.19543,
    "h": 277.1
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#5657DA
secondary
#E0DFAC
accent
#E641E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5657DA

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

Preview Lab → · Contrast checker → · Palette generator →

#5657DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva