#5657CC#5657CC

#5657CC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.177 H 278.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5657CC
RGBrgb(86, 87, 204)
HSLhsl(239, 54%, 57%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(57.8%, 57.4%, 0%, 20%)
CIE-LABlab(42.99, 33.60, -61.06)
CIE-LCHlch(42.99, 69.70, 298.82°)
OKLaboklab(52.21% 0.0245 -0.1752)
OKLCHoklch(52.21% 0.177 278)
XYZxyz(18.1416, 13.1532, 58.6979)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657CC #CCCB56
analogous
#5692CC #5657CC #9056CC
triadic
#5657CC #CC5657 #57CC56
tetradic
#5657CC #CC5692 #CCCB56 #56CC90
square
#5657CC #CC5692 #CCCB56 #56CC90
split-complementary
#5657CC #CC9056 #92CC56
monochromatic
#272881 #3536B0 #5657CC #8586DA #B4B4E8

Accessibility & contrast

On white

5.78
#5657CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5657CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657CC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657CC#FFFFFF#000000##FFFFFF
##5657CC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#057389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5657cc;
/* rgb */ color: rgb(86, 87, 204);
/* oklch */ color: oklch(52.2% 0.177 278.0);
Tailwind
colors: {
  custom: {
    50: '#9086dc',
    500: '#5657cc',
    950: '#000000',
  },
}
SCSS
$custom: #5657cc;
$custom-light: #9086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5657cc",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 239.492,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.17694,
    "h": 278
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#5657CC
secondary
#D7D7A7
accent
#DC4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5657CC

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

Preview Lab → · Contrast checker → · Palette generator →

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