#5657EB#5657EB

#5657EB is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.217 H 276.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5657EB
RGBrgb(86, 87, 235)
HSLhsl(240, 79%, 63%)
HSVhsv(240, 63%, 92%)
CMYKcmyk(63.4%, 63%, 0%, 7.8%)
CIE-LABlab(45.35, 43.67, -74.90)
CIE-LCHlch(45.35, 86.70, 300.24°)
OKLaboklab(54.68% 0.0234 -0.2159)
OKLCHoklch(54.68% 0.217 276.2)
XYZxyz(22.2364, 14.7911, 80.2643)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657EB #EBEA56
analogous
#56A2EB #5657EB #9F56EB
triadic
#5657EB #EB5657 #57EB56
tetradic
#5657EB #EB56A2 #EBEA56 #56EB9F
square
#5657EB #EB56A2 #EBEA56 #56EB9F
split-complementary
#5657EB #EB9F56 #A2EB56
monochromatic
#1516B2 #1F21E5 #5657EB #8D8DF1 #C3C4F8

Accessibility & contrast

On white

5.30
#5657EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5657EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657EB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657EB#FFFFFF#000000##FFFFFF
##5657EB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5657eb;
/* rgb */ color: rgb(86, 87, 235);
/* oklch */ color: oklch(54.7% 0.217 276.2);
Tailwind
colors: {
  custom: {
    50: '#9587f3',
    500: '#5657eb',
    950: '#000000',
  },
}
SCSS
$custom: #5657eb;
$custom-light: #9587f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5657eb",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 239.597,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54676,
    "c": 0.21715,
    "h": 276.2
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#5657EB
secondary
#E9E9B4
accent
#DA0ADB
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5657EB

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

Preview Lab → · Contrast checker → · Palette generator →

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