#5657AD#5657AD

#5657AD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.134 H 279.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5657AD
RGBrgb(86, 87, 173)
HSLhsl(239, 35%, 51%)
HSVhsv(239, 50%, 68%)
CMYKcmyk(50.3%, 49.7%, 0%, 32.2%)
CIE-LABlab(40.91, 23.59, -46.33)
CIE-LCHlch(40.91, 51.99, 296.99°)
OKLaboklab(49.99% 0.023 -0.1319)
OKLCHoklch(49.99% 0.134 279.9)
XYZxyz(14.7865, 11.8111, 41.0277)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657AD #ADAC56
analogous
#5682AD #5657AD #8056AD
triadic
#5657AD #AD5657 #57AD56
tetradic
#5657AD #AD5682 #ADAC56 #56AD80
square
#5657AD #AD5682 #ADAC56 #56AD80
split-complementary
#5657AD #AD8056 #82AD56
monochromatic
#2D2D5C #414185 #5657AD #7F80C1 #A8A9D5

Accessibility & contrast

On white

6.25
#5657AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5657AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657AD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657AD#FFFFFF#000000##FFFFFF
##5657AD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#285DAB
Tritanopia (blue-blind)
#346A7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5657ad;
/* rgb */ color: rgb(86, 87, 173);
/* oklch */ color: oklch(50.0% 0.134 279.9);
Tailwind
colors: {
  custom: {
    50: '#8b86c6',
    500: '#5657ad',
    950: '#000000',
  },
}
SCSS
$custom: #5657ad;
$custom-light: #8b86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ad",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 239.31,
    "s": 34.661,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.13389,
    "h": 279.9
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#5657AD
secondary
#C3C29C
accent
#C95DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5657AD

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

Preview Lab → · Contrast checker → · Palette generator →

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