#5657AC#5657AC

#5657AC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.132 H 280.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5657AC
RGBrgb(86, 87, 172)
HSLhsl(239, 34%, 51%)
HSVhsv(239, 50%, 67%)
CMYKcmyk(50%, 49.4%, 0%, 32.5%)
CIE-LABlab(40.85, 23.27, -45.84)
CIE-LCHlch(40.85, 51.41, 296.92°)
OKLaboklab(49.92% 0.0229 -0.1304)
OKLCHoklch(49.92% 0.132 280)
XYZxyz(14.6901, 11.7726, 40.5200)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657AC #ACAB56
analogous
#5682AC #5657AC #8056AC
triadic
#5657AC #AC5657 #57AC56
tetradic
#5657AC #AC5682 #ACAB56 #56AC80
square
#5657AC #AC5682 #ACAB56 #56AC80
split-complementary
#5657AC #AC8056 #82AC56
monochromatic
#2D2D5B #414284 #5657AC #7F80C0 #A8A9D4

Accessibility & contrast

On white

6.26
#5657AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5657AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657AC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657AC#FFFFFF#000000##FFFFFF
##5657AC1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3064AF
Deuteranopia (green-blind)
#295DAA
Tritanopia (blue-blind)
#356979
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5657ac;
/* rgb */ color: rgb(86, 87, 172);
/* oklch */ color: oklch(49.9% 0.132 280.0);
Tailwind
colors: {
  custom: {
    50: '#8b86c5',
    500: '#5657ac',
    950: '#000000',
  },
}
SCSS
$custom: #5657ac;
$custom-light: #8b86c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ac",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 239.302,
    "s": 34.127,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.13244,
    "h": 280
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#5657AC
secondary
#C2C29C
accent
#C95ECA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5657AC

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

Preview Lab → · Contrast checker → · Palette generator →

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