#5657C0#5657C0

#5657C0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.161 H 278.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5657C0
RGBrgb(86, 87, 192)
HSLhsl(239, 46%, 55%)
HSVhsv(239, 55%, 75%)
CMYKcmyk(55.2%, 54.7%, 0%, 24.7%)
CIE-LABlab(42.15, 29.70, -55.47)
CIE-LCHlch(42.15, 62.92, 298.17°)
OKLaboklab(51.32% 0.0243 -0.1588)
OKLCHoklch(51.32% 0.161 278.7)
XYZxyz(16.7574, 12.5995, 51.4079)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657C0 #C0BF56
analogous
#568CC0 #5657C0 #8A56C0
triadic
#5657C0 #C05657 #57C056
tetradic
#5657C0 #C0568C #C0BF56 #56C08A
square
#5657C0 #C0568C #C0BF56 #56C08A
split-complementary
#5657C0 #C08A56 #8CC056
monochromatic
#2A2B71 #3B3C9E #5657C0 #8383D1 #AFB0E1

Accessibility & contrast

On white

5.97
#5657C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5657C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657C0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657C0#FFFFFF#000000##FFFFFF
##5657C01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#216F83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5657c0;
/* rgb */ color: rgb(86, 87, 192);
/* oklch */ color: oklch(51.3% 0.161 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e86d4',
    500: '#5657c0',
    950: '#000000',
  },
}
SCSS
$custom: #5657c0;
$custom-light: #8e86d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5657c0",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 192
  },
  "hsl": {
    "h": 239.434,
    "s": 45.69,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.16063,
    "h": 278.7
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#5657C0
secondary
#CFCFA2
accent
#D452D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5657C0

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

Preview Lab → · Contrast checker → · Palette generator →

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