#5657CA#5657CA

#5657CA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.174 H 278.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5657CA
RGBrgb(86, 87, 202)
HSLhsl(239, 52%, 56%)
HSVhsv(239, 57%, 79%)
CMYKcmyk(57.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.85, 32.95, -60.14)
CIE-LCHlch(42.85, 68.58, 298.72°)
OKLaboklab(52.06% 0.0245 -0.1725)
OKLCHoklch(52.06% 0.174 278.1)
XYZxyz(17.9032, 13.0578, 57.4427)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657CA #CAC956
analogous
#5691CA #5657CA #8F56CA
triadic
#5657CA #CA5657 #57CA56
tetradic
#5657CA #CA5691 #CAC956 #56CA8F
square
#5657CA #CA5691 #CAC956 #56CA8F
split-complementary
#5657CA #CA8F56 #91CA56
monochromatic
#28287E #3637AD #5657CA #8585D9 #B3B4E7

Accessibility & contrast

On white

5.81
#5657CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5657CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657CA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657CA#FFFFFF#000000##FFFFFF
##5657CA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#0D7288
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5657ca;
/* rgb */ color: rgb(86, 87, 202);
/* oklch */ color: oklch(52.1% 0.174 278.1);
Tailwind
colors: {
  custom: {
    50: '#9086db',
    500: '#5657ca',
    950: '#000000',
  },
}
SCSS
$custom: #5657ca;
$custom-light: #9086db;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ca",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 239.483,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.17425,
    "h": 278.1
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#5657CA
secondary
#D6D5A6
accent
#DA4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5657CA

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

Preview Lab → · Contrast checker → · Palette generator →

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