#5657BF#5657BF

#5657BF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.159 H 278.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5657BF
RGBrgb(86, 87, 191)
HSLhsl(239, 45%, 54%)
HSVhsv(239, 55%, 75%)
CMYKcmyk(55%, 54.5%, 0%, 25.1%)
CIE-LABlab(42.09, 29.38, -55.00)
CIE-LCHlch(42.09, 62.35, 298.11°)
OKLaboklab(51.24% 0.0243 -0.1574)
OKLCHoklch(51.24% 0.159 278.8)
XYZxyz(16.6470, 12.5553, 50.8263)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657BF #BFBE56
analogous
#568BBF #5657BF #8A56BF
triadic
#5657BF #BF5657 #57BF56
tetradic
#5657BF #BF568B #BFBE56 #56BF8A
square
#5657BF #BF568B #BFBE56 #56BF8A
split-complementary
#5657BF #BF8A56 #8BBF56
monochromatic
#2A2B70 #3B3C9D #5657BF #8283D0 #AFAFE1

Accessibility & contrast

On white

5.98
#5657BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5657BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657BF#FFFFFF#000000##FFFFFF
##5657BF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#226F82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5657bf;
/* rgb */ color: rgb(86, 87, 191);
/* oklch */ color: oklch(51.2% 0.159 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e86d3',
    500: '#5657bf',
    950: '#000000',
  },
}
SCSS
$custom: #5657bf;
$custom-light: #8e86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5657bf",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 239.429,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.15925,
    "h": 278.8
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#5657BF
secondary
#CFCEA2
accent
#D453D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5657BF

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

Preview Lab → · Contrast checker → · Palette generator →

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