#5657CB#5657CB

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

Color values

HEX#5657CB
RGBrgb(86, 87, 203)
HSLhsl(239, 53%, 57%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(57.6%, 57.1%, 0%, 20.4%)
CIE-LABlab(42.92, 33.28, -60.60)
CIE-LCHlch(42.92, 69.14, 298.77°)
OKLaboklab(52.13% 0.0245 -0.1739)
OKLCHoklch(52.13% 0.176 278)
XYZxyz(18.0220, 13.1054, 58.0682)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657CB #CBCA56
analogous
#5692CB #5657CB #9056CB
triadic
#5657CB #CB5657 #57CB56
tetradic
#5657CB #CB5692 #CBCA56 #56CB90
square
#5657CB #CB5692 #CBCA56 #56CB90
split-complementary
#5657CB #CB9056 #92CB56
monochromatic
#27287F #3637AE #5657CB #8586D9 #B4B4E8

Accessibility & contrast

On white

5.80
#5657CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5657CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657CB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657CB#FFFFFF#000000##FFFFFF
##5657CB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#097288
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5657cb;
/* rgb */ color: rgb(86, 87, 203);
/* oklch */ color: oklch(52.1% 0.176 278.0);
Tailwind
colors: {
  custom: {
    50: '#9086dc',
    500: '#5657cb',
    950: '#000000',
  },
}
SCSS
$custom: #5657cb;
$custom-light: #9086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5657cb",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 239.487,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.17559,
    "h": 278
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#5657CB
secondary
#D6D6A6
accent
#DB4BDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5657CB

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

Preview Lab → · Contrast checker → · Palette generator →

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