#5657AF#5657AF

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

Color values

HEX#5657AF
RGBrgb(86, 87, 175)
HSLhsl(239, 36%, 51%)
HSVhsv(239, 51%, 69%)
CMYKcmyk(50.9%, 50.3%, 0%, 31.4%)
CIE-LABlab(41.04, 24.23, -47.31)
CIE-LCHlch(41.04, 53.15, 297.12°)
OKLaboklab(50.13% 0.0232 -0.1348)
OKLCHoklch(50.13% 0.137 279.8)
XYZxyz(14.9814, 11.8891, 42.0545)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657AF #AFAE56
analogous
#5683AF #5657AF #8156AF
triadic
#5657AF #AF5657 #57AF56
tetradic
#5657AF #AF5683 #AFAE56 #56AF81
square
#5657AF #AF5683 #AFAE56 #56AF81
split-complementary
#5657AF #AF8156 #83AF56
monochromatic
#2D2D5E #404188 #5657AF #8080C3 #A9AAD6

Accessibility & contrast

On white

6.22
#5657AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5657AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657AF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657AF#FFFFFF#000000##FFFFFF
##5657AF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#255DAD
Tritanopia (blue-blind)
#336A7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5657af;
/* rgb */ color: rgb(86, 87, 175);
/* oklch */ color: oklch(50.1% 0.137 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c86c7',
    500: '#5657af',
    950: '#000000',
  },
}
SCSS
$custom: #5657af;
$custom-light: #8c86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5657af",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 239.326,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50125,
    "c": 0.13675,
    "h": 279.8
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#5657AF
secondary
#C4C49D
accent
#CB5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5657AF

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

Preview Lab → · Contrast checker → · Palette generator →

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