#5657CD#5657CD

#5657CD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.178 H 277.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5657CD
RGBrgb(86, 87, 205)
HSLhsl(239, 54%, 57%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(58%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.06, 33.93, -61.52)
CIE-LCHlch(43.06, 70.26, 298.88°)
OKLaboklab(52.28% 0.0245 -0.1766)
OKLCHoklch(52.28% 0.178 277.9)
XYZxyz(18.2619, 13.2013, 59.3316)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657CD #CDCC56
analogous
#5693CD #5657CD #9156CD
triadic
#5657CD #CD5657 #57CD56
tetradic
#5657CD #CD5693 #CDCC56 #56CD91
square
#5657CD #CD5693 #CDCC56 #56CD91
split-complementary
#5657CD #CD9156 #93CD56
monochromatic
#262782 #3436B1 #5657CD #8586DB #B4B5E9

Accessibility & contrast

On white

5.77
#5657CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5657CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657CD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657CD#FFFFFF#000000##FFFFFF
##5657CD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#017389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5657cd;
/* rgb */ color: rgb(86, 87, 205);
/* oklch */ color: oklch(52.3% 0.178 277.9);
Tailwind
colors: {
  custom: {
    50: '#9086dd',
    500: '#5657cd',
    950: '#000000',
  },
}
SCSS
$custom: #5657cd;
$custom-light: #9086dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5657cd",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 239.496,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.17828,
    "h": 277.9
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#5657CD
secondary
#D8D7A7
accent
#DC4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5657CD

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

Preview Lab → · Contrast checker → · Palette generator →

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