#5657C8#5657C8

#5657C8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.172 H 278.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5657C8
RGBrgb(86, 87, 200)
HSLhsl(239, 51%, 56%)
HSVhsv(239, 57%, 78%)
CMYKcmyk(57%, 56.5%, 0%, 21.6%)
CIE-LABlab(42.71, 32.30, -59.21)
CIE-LCHlch(42.71, 67.45, 298.61°)
OKLaboklab(51.91% 0.0245 -0.1698)
OKLCHoklch(51.91% 0.172 278.2)
XYZxyz(17.6680, 12.9637, 56.2036)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657C8 #C8C756
analogous
#5690C8 #5657C8 #8E56C8
triadic
#5657C8 #C85657 #57C856
tetradic
#5657C8 #C85690 #C8C756 #56C88E
square
#5657C8 #C85690 #C8C756 #56C88E
split-complementary
#5657C8 #C88E56 #90C856
monochromatic
#28297B #3738AA #5657C8 #8485D7 #B2B3E6

Accessibility & contrast

On white

5.84
#5657C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5657C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657C8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657C8#FFFFFF#000000##FFFFFF
##5657C81.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#127187
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5657c8;
/* rgb */ color: rgb(86, 87, 200);
/* oklch */ color: oklch(51.9% 0.172 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f86d9',
    500: '#5657c8',
    950: '#000000',
  },
}
SCSS
$custom: #5657c8;
$custom-light: #8f86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5657c8",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 239.474,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.17155,
    "h": 278.2
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#5657C8
secondary
#D4D4A5
accent
#D94DDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5657C8

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

Preview Lab → · Contrast checker → · Palette generator →

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