#5657DF#5657DF

#5657DF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.202 H 276.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5657DF
RGBrgb(86, 87, 223)
HSLhsl(240, 68%, 61%)
HSVhsv(240, 61%, 87%)
CMYKcmyk(61.4%, 61%, 0%, 12.5%)
CIE-LABlab(44.41, 39.78, -69.64)
CIE-LCHlch(44.41, 80.20, 299.74°)
OKLaboklab(53.69% 0.0241 -0.2004)
OKLCHoklch(53.69% 0.202 276.9)
XYZxyz(20.5609, 14.1209, 71.4398)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657DF #DFDE56
analogous
#569BDF #5657DF #9956DF
triadic
#5657DF #DF5657 #57DF56
tetradic
#5657DF #DF569B #DFDE56 #56DF99
square
#5657DF #DF569B #DFDE56 #56DF99
split-complementary
#5657DF #DF9956 #9BDF56
monochromatic
#1E1F9D #2729D0 #5657DF #898AE9 #BDBDF2

Accessibility & contrast

On white

5.49
#5657DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5657DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657DF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657DF#FFFFFF#000000##FFFFFF
##5657DF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5657df;
/* rgb */ color: rgb(86, 87, 223);
/* oklch */ color: oklch(53.7% 0.202 276.9);
Tailwind
colors: {
  custom: {
    50: '#9386ea',
    500: '#5657df',
    950: '#000000',
  },
}
SCSS
$custom: #5657df;
$custom-light: #9386ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5657df",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 239.562,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.20189,
    "h": 276.9
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#5657DF
secondary
#E2E2AE
accent
#CF15D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5657DF

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

Preview Lab → · Contrast checker → · Palette generator →

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