#5657E9#5657E9

#5657E9 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.5% C 0.215 H 276.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5657E9
RGBrgb(86, 87, 233)
HSLhsl(240, 77%, 63%)
HSVhsv(240, 63%, 91%)
CMYKcmyk(63.1%, 62.7%, 0%, 8.6%)
CIE-LABlab(45.19, 43.02, -74.03)
CIE-LCHlch(45.19, 85.62, 300.16°)
OKLaboklab(54.51% 0.0235 -0.2133)
OKLCHoklch(54.51% 0.215 276.3)
XYZxyz(21.9491, 14.6762, 78.7511)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657E9 #E9E856
analogous
#56A0E9 #5657E9 #9F56E9
triadic
#5657E9 #E95657 #57E956
tetradic
#5657E9 #E956A0 #E9E856 #56E99F
square
#5657E9 #E956A0 #E9E856 #56E99F
split-complementary
#5657E9 #E99F56 #A0E956
monochromatic
#1718AE #2021E2 #5657E9 #8C8DF0 #C2C3F7

Accessibility & contrast

On white

5.34
#5657E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5657E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657E9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657E9#FFFFFF#000000##FFFFFF
##5657E91.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5657e9;
/* rgb */ color: rgb(86, 87, 233);
/* oklch */ color: oklch(54.5% 0.215 276.3);
Tailwind
colors: {
  custom: {
    50: '#9587f1',
    500: '#5657e9',
    950: '#000000',
  },
}
SCSS
$custom: #5657e9;
$custom-light: #9587f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5657e9",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 239.592,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.21463,
    "h": 276.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#5657E9
secondary
#E8E8B3
accent
#D80CD9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5657E9

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

Preview Lab → · Contrast checker → · Palette generator →

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