#5657BA#5657BA

#5657BA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.152 H 279.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5657BA
RGBrgb(86, 87, 186)
HSLhsl(239, 42%, 53%)
HSVhsv(239, 54%, 73%)
CMYKcmyk(53.8%, 53.2%, 0%, 27.1%)
CIE-LABlab(41.75, 27.76, -52.62)
CIE-LCHlch(41.75, 59.50, 297.82°)
OKLaboklab(50.89% 0.024 -0.1504)
OKLCHoklch(50.89% 0.152 279.1)
XYZxyz(16.1061, 12.3390, 47.9778)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657BA #BAB956
analogous
#5689BA #5657BA #8756BA
triadic
#5657BA #BA5657 #57BA56
tetradic
#5657BA #BA5689 #BAB956 #56BA87
square
#5657BA #BA5689 #BAB956 #56BA87
split-complementary
#5657BA #BA8756 #89BA56
monochromatic
#2B2C6A #3D3E96 #5657BA #8182CC #ADADDD

Accessibility & contrast

On white

6.06
#5657BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5657BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657BA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657BA#FFFFFF#000000##FFFFFF
##5657BA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BD
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#296D80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5657ba;
/* rgb */ color: rgb(86, 87, 186);
/* oklch */ color: oklch(50.9% 0.152 279.1);
Tailwind
colors: {
  custom: {
    50: '#8d86cf',
    500: '#5657ba',
    950: '#000000',
  },
}
SCSS
$custom: #5657ba;
$custom-light: #8d86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ba",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 239.4,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50886,
    "c": 0.15231,
    "h": 279.1
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#5657BA
secondary
#CBCBA0
accent
#D156D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5657BA

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

Preview Lab → · Contrast checker → · Palette generator →

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