#5657D1#5657D1

#5657D1 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.184 H 277.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5657D1
RGBrgb(86, 87, 209)
HSLhsl(240, 57%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(58.9%, 58.4%, 0%, 18%)
CIE-LABlab(43.36, 35.23, -63.35)
CIE-LCHlch(43.36, 72.49, 299.08°)
OKLaboklab(52.59% 0.0245 -0.182)
OKLCHoklch(52.59% 0.184 277.7)
XYZxyz(18.7509, 13.3969, 61.9070)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657D1 #D1D056
analogous
#5695D1 #5657D1 #9256D1
triadic
#5657D1 #D15657 #57D156
tetradic
#5657D1 #D15695 #D1D056 #56D192
square
#5657D1 #D15695 #D1D056 #56D192
split-complementary
#5657D1 #D19256 #95D156
monochromatic
#252688 #3233B8 #5657D1 #8687DE #B6B7EB

Accessibility & contrast

On white

5.71
#5657D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5657D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657D1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657D1#FFFFFF#000000##FFFFFF
##5657D11.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5657d1;
/* rgb */ color: rgb(86, 87, 209);
/* oklch */ color: oklch(52.6% 0.184 277.7);
Tailwind
colors: {
  custom: {
    50: '#9186e0',
    500: '#5657d1',
    950: '#000000',
  },
}
SCSS
$custom: #5657d1;
$custom-light: #9186e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5657d1",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 209
  },
  "hsl": {
    "h": 239.512,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.1836,
    "h": 277.7
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#5657D1
secondary
#DADAA9
accent
#DF47E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5657D1

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

Preview Lab → · Contrast checker → · Palette generator →

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