#5657EA#5657EA

#5657EA is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.216 H 276.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5657EA
RGBrgb(86, 87, 234)
HSLhsl(240, 78%, 63%)
HSVhsv(240, 63%, 92%)
CMYKcmyk(63.2%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.27, 43.34, -74.47)
CIE-LCHlch(45.27, 86.16, 300.20°)
OKLaboklab(54.59% 0.0235 -0.2146)
OKLCHoklch(54.59% 0.216 276.2)
XYZxyz(22.0924, 14.7335, 79.5056)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657EA #EAE956
analogous
#56A1EA #5657EA #9F56EA
triadic
#5657EA #EA5657 #57EA56
tetradic
#5657EA #EA56A1 #EAE956 #56EA9F
square
#5657EA #EA56A1 #EAE956 #56EA9F
split-complementary
#5657EA #EA9F56 #A1EA56
monochromatic
#1617B0 #2021E3 #5657EA #8C8DF1 #C3C3F8

Accessibility & contrast

On white

5.32
#5657EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5657EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657EA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657EA#FFFFFF#000000##FFFFFF
##5657EA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5657ea;
/* rgb */ color: rgb(86, 87, 234);
/* oklch */ color: oklch(54.6% 0.216 276.2);
Tailwind
colors: {
  custom: {
    50: '#9587f2',
    500: '#5657ea',
    950: '#000000',
  },
}
SCSS
$custom: #5657ea;
$custom-light: #9587f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ea",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 239.595,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.2159,
    "h": 276.2
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#5657EA
secondary
#E9E8B3
accent
#D90BDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5657EA

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

Preview Lab → · Contrast checker → · Palette generator →

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