#5657AE#5657AE

#5657AE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.135 H 279.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5657AE
RGBrgb(86, 87, 174)
HSLhsl(239, 35%, 51%)
HSVhsv(239, 51%, 68%)
CMYKcmyk(50.6%, 50%, 0%, 31.8%)
CIE-LABlab(40.98, 23.91, -46.82)
CIE-LCHlch(40.98, 52.57, 297.05°)
OKLaboklab(50.06% 0.0231 -0.1333)
OKLCHoklch(50.06% 0.135 279.8)
XYZxyz(14.8836, 11.8500, 41.5392)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657AE #AEAD56
analogous
#5683AE #5657AE #8156AE
triadic
#5657AE #AE5657 #57AE56
tetradic
#5657AE #AE5683 #AEAD56 #56AE81
square
#5657AE #AE5683 #AEAD56 #56AE81
split-complementary
#5657AE #AE8156 #83AE56
monochromatic
#2D2D5D #404186 #5657AE #7F80C2 #A9A9D6

Accessibility & contrast

On white

6.23
#5657AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5657AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657AE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657AE#FFFFFF#000000##FFFFFF
##5657AE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#346A7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5657ae;
/* rgb */ color: rgb(86, 87, 174);
/* oklch */ color: oklch(50.1% 0.135 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c86c7',
    500: '#5657ae',
    950: '#000000',
  },
}
SCSS
$custom: #5657ae;
$custom-light: #8c86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ae",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 239.318,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.13533,
    "h": 279.8
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#5657AE
secondary
#C3C39C
accent
#CA5DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5657AE

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

Preview Lab → · Contrast checker → · Palette generator →

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