#5657E5#5657E5

#5657E5 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.210 H 276.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5657E5
RGBrgb(86, 87, 229)
HSLhsl(240, 73%, 62%)
HSVhsv(240, 62%, 90%)
CMYKcmyk(62.4%, 62%, 0%, 10.2%)
CIE-LABlab(44.87, 41.73, -72.29)
CIE-LCHlch(44.87, 83.46, 299.99°)
OKLaboklab(54.18% 0.0238 -0.2082)
OKLCHoklch(54.18% 0.21 276.5)
XYZxyz(21.3842, 14.4502, 75.7758)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657E5 #E5E456
analogous
#569FE5 #5657E5 #9C56E5
triadic
#5657E5 #E55657 #57E556
tetradic
#5657E5 #E5569F #E5E456 #56E59C
square
#5657E5 #E5569F #E5E456 #56E59C
split-complementary
#5657E5 #E59C56 #9FE556
monochromatic
#1A1BA7 #2223DC #5657E5 #8B8CED #C0C0F5

Accessibility & contrast

On white

5.40
#5657E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5657E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657E5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657E5#FFFFFF#000000##FFFFFF
##5657E51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5657e5;
/* rgb */ color: rgb(86, 87, 229);
/* oklch */ color: oklch(54.2% 0.210 276.5);
Tailwind
colors: {
  custom: {
    50: '#9487ee',
    500: '#5657e5',
    950: '#000000',
  },
}
SCSS
$custom: #5657e5;
$custom-light: #9487ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5657e5",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 239.58,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.20957,
    "h": 276.5
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#5657E5
secondary
#E6E6B1
accent
#D410D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5657E5

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

Preview Lab → · Contrast checker → · Palette generator →

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