#5657CF#5657CF

#5657CF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.181 H 277.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5657CF
RGBrgb(86, 87, 207)
HSLhsl(240, 56%, 57%)
HSVhsv(240, 58%, 81%)
CMYKcmyk(58.5%, 58%, 0%, 18.8%)
CIE-LABlab(43.21, 34.58, -62.44)
CIE-LCHlch(43.21, 71.37, 298.98°)
OKLaboklab(52.44% 0.0245 -0.1793)
OKLCHoklch(52.44% 0.181 277.8)
XYZxyz(18.5048, 13.2985, 60.6111)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657CF #CFCE56
analogous
#5694CF #5657CF #9156CF
triadic
#5657CF #CF5657 #57CF56
tetradic
#5657CF #CF5694 #CFCE56 #56CF91
square
#5657CF #CF5694 #CFCE56 #56CF91
split-complementary
#5657CF #CF9156 #94CF56
monochromatic
#262785 #3334B5 #5657CF #8686DD #B5B6EA

Accessibility & contrast

On white

5.74
#5657CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5657CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657CF#FFFFFF#000000##FFFFFF
##5657CF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5657cf;
/* rgb */ color: rgb(86, 87, 207);
/* oklch */ color: oklch(52.4% 0.181 277.8);
Tailwind
colors: {
  custom: {
    50: '#9186de',
    500: '#5657cf',
    950: '#000000',
  },
}
SCSS
$custom: #5657cf;
$custom-light: #9186de;
$custom-dark: #000000;
JSON
{
  "hex": "#5657cf",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 239.504,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.18095,
    "h": 277.8
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

primary
#5657CF
secondary
#D9D8A8
accent
#DE49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5657CF

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

Preview Lab → · Contrast checker → · Palette generator →

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