#5657E8#5657E8

#5657E8 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.213 H 276.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5657E8
RGBrgb(86, 87, 232)
HSLhsl(240, 76%, 62%)
HSVhsv(240, 63%, 91%)
CMYKcmyk(62.9%, 62.5%, 0%, 9%)
CIE-LABlab(45.11, 42.70, -73.60)
CIE-LCHlch(45.11, 85.08, 300.12°)
OKLaboklab(54.43% 0.0236 -0.2121)
OKLCHoklch(54.43% 0.213 276.3)
XYZxyz(21.8067, 14.6192, 78.0009)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657E8 #E8E756
analogous
#56A0E8 #5657E8 #9E56E8
triadic
#5657E8 #E85657 #57E856
tetradic
#5657E8 #E856A0 #E8E756 #56E89E
square
#5657E8 #E856A0 #E8E756 #56E89E
split-complementary
#5657E8 #E89E56 #A0E856
monochromatic
#1718AC #2021E1 #5657E8 #8C8DEF #C2C2F7

Accessibility & contrast

On white

5.35
#5657E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5657E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657E8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657E8#FFFFFF#000000##FFFFFF
##5657E81.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5657e8;
/* rgb */ color: rgb(86, 87, 232);
/* oklch */ color: oklch(54.4% 0.213 276.3);
Tailwind
colors: {
  custom: {
    50: '#9587f0',
    500: '#5657e8',
    950: '#000000',
  },
}
SCSS
$custom: #5657e8;
$custom-light: #9587f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5657e8",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 239.589,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.21337,
    "h": 276.3
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#5657E8
secondary
#E8E7B2
accent
#D70DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5657E8

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

Preview Lab → · Contrast checker → · Palette generator →

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