#5657DB#5657DB

#5657DB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.4% C 0.197 H 277.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5657DB
RGBrgb(86, 87, 219)
HSLhsl(240, 65%, 60%)
HSVhsv(240, 61%, 86%)
CMYKcmyk(60.7%, 60.3%, 0%, 14.1%)
CIE-LABlab(44.10, 38.48, -67.86)
CIE-LCHlch(44.10, 78.01, 299.56°)
OKLaboklab(53.37% 0.0243 -0.1952)
OKLCHoklch(53.37% 0.197 277.1)
XYZxyz(20.0280, 13.9077, 68.6331)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657DB #DBDA56
analogous
#5699DB #5657DB #9856DB
triadic
#5657DB #DB5657 #57DB56
tetradic
#5657DB #DB5699 #DBDA56 #56DB98
square
#5657DB #DB5699 #DBDA56 #56DB98
split-complementary
#5657DB #DB9856 #99DB56
monochromatic
#202197 #2B2CC9 #5657DB #8889E6 #BBBBF0

Accessibility & contrast

On white

5.55
#5657DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5657DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657DB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657DB#FFFFFF#000000##FFFFFF
##5657DB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5657db;
/* rgb */ color: rgb(86, 87, 219);
/* oklch */ color: oklch(53.4% 0.197 277.1);
Tailwind
colors: {
  custom: {
    50: '#9386e7',
    500: '#5657db',
    950: '#000000',
  },
}
SCSS
$custom: #5657db;
$custom-light: #9386e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5657db",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 239.549,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.19672,
    "h": 277.1
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#5657DB
secondary
#E0E0AD
accent
#E740E8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5657DB

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

Preview Lab → · Contrast checker → · Palette generator →

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