#5657D2#5657D2

#5657D2 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.185 H 277.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5657D2
RGBrgb(86, 87, 210)
HSLhsl(240, 58%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(59%, 58.6%, 0%, 17.6%)
CIE-LABlab(43.43, 35.55, -63.81)
CIE-LCHlch(43.43, 73.04, 299.13°)
OKLaboklab(52.67% 0.0245 -0.1833)
OKLCHoklch(52.67% 0.185 277.6)
XYZxyz(18.8751, 13.4466, 62.5611)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657D2 #D2D156
analogous
#5695D2 #5657D2 #9356D2
triadic
#5657D2 #D25657 #57D256
tetradic
#5657D2 #D25695 #D2D156 #56D293
square
#5657D2 #D25695 #D2D156 #56D293
split-complementary
#5657D2 #D29356 #95D256
monochromatic
#252589 #3132B9 #5657D2 #8687DF #B7B7EC

Accessibility & contrast

On white

5.69
#5657D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5657D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657D2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657D2#FFFFFF#000000##FFFFFF
##5657D21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5657d2;
/* rgb */ color: rgb(86, 87, 210);
/* oklch */ color: oklch(52.7% 0.185 277.6);
Tailwind
colors: {
  custom: {
    50: '#9186e1',
    500: '#5657d2',
    950: '#000000',
  },
}
SCSS
$custom: #5657d2;
$custom-light: #9186e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5657d2",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 239.516,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.18493,
    "h": 277.6
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#5657D2
secondary
#DBDAA9
accent
#E047E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5657D2

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

Preview Lab → · Contrast checker → · Palette generator →

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