#5657DC#5657DC

#5657DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.5% C 0.198 H 277.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5657DC
RGBrgb(86, 87, 220)
HSLhsl(240, 66%, 60%)
HSVhsv(240, 61%, 86%)
CMYKcmyk(60.9%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.18, 38.81, -68.31)
CIE-LCHlch(44.18, 78.56, 299.60°)
OKLaboklab(53.45% 0.0242 -0.1965)
OKLCHoklch(53.45% 0.198 277)
XYZxyz(20.1600, 13.9606, 69.3286)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657DC #DCDB56
analogous
#569ADC #5657DC #9856DC
triadic
#5657DC #DC5657 #57DC56
tetradic
#5657DC #DC569A #DCDB56 #56DC98
square
#5657DC #DC569A #DCDB56 #56DC98
split-complementary
#5657DC #DC9856 #9ADC56
monochromatic
#202098 #2A2BCB #5657DC #8989E6 #BBBCF1

Accessibility & contrast

On white

5.54
#5657DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5657DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657DC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657DC#FFFFFF#000000##FFFFFF
##5657DC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5657dc;
/* rgb */ color: rgb(86, 87, 220);
/* oklch */ color: oklch(53.5% 0.198 277.0);
Tailwind
colors: {
  custom: {
    50: '#9386e8',
    500: '#5657dc',
    950: '#000000',
  },
}
SCSS
$custom: #5657dc;
$custom-light: #9386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5657dc",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 239.552,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.19802,
    "h": 277
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#5657DC
secondary
#E1E0AD
accent
#E73FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5657DC

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

Preview Lab → · Contrast checker → · Palette generator →

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