#5657ED#5657ED

#5657ED is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.220 H 276.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5657ED
RGBrgb(86, 87, 237)
HSLhsl(240, 81%, 63%)
HSVhsv(240, 64%, 93%)
CMYKcmyk(63.7%, 63.3%, 0%, 7.1%)
CIE-LABlab(45.51, 44.31, -75.76)
CIE-LCHlch(45.51, 87.77, 300.32°)
OKLaboklab(54.84% 0.0232 -0.2184)
OKLCHoklch(54.84% 0.22 276.1)
XYZxyz(22.5270, 14.9074, 81.7946)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657ED #EDEC56
analogous
#56A2ED #5657ED #A156ED
triadic
#5657ED #ED5657 #57ED56
tetradic
#5657ED #ED56A2 #EDEC56 #56EDA1
square
#5657ED #ED56A2 #EDEC56 #56EDA1
split-complementary
#5657ED #EDA156 #A2ED56
monochromatic
#1314B5 #1F20E7 #5657ED #8D8EF3 #C5C5F9

Accessibility & contrast

On white

5.27
#5657ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5657ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657ED
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657ED#FFFFFF#000000##FFFFFF
##5657ED1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5657ed;
/* rgb */ color: rgb(86, 87, 237);
/* oklch */ color: oklch(54.8% 0.220 276.1);
Tailwind
colors: {
  custom: {
    50: '#9687f4',
    500: '#5657ed',
    950: '#000000',
  },
}
SCSS
$custom: #5657ed;
$custom-light: #9687f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ed",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 239.603,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.21965,
    "h": 276.1
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#5657ED
secondary
#EAEAB4
accent
#DC08DD
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5657ED

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

Preview Lab → · Contrast checker → · Palette generator →

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