#5657FF#5657FF

#5657FF is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.4% C 0.242 H 275.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5657FF
RGBrgb(86, 87, 255)
HSLhsl(240, 100%, 67%)
HSVhsv(240, 66%, 100%)
CMYKcmyk(66.3%, 65.9%, 0%, 0%)
CIE-LABlab(46.99, 50.08, -83.40)
CIE-LCHlch(46.99, 97.28, 300.98°)
OKLaboklab(56.38% 0.0216 -0.2408)
OKLCHoklch(56.38% 0.242 275.1)
XYZxyz(25.2900, 16.0125, 96.3463)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657FF #FFFE56
analogous
#56ACFF #5657FF #AA56FF
triadic
#5657FF #FF5657 #57FF56
tetradic
#5657FF #FF56AC #FFFE56 #56FFAA
square
#5657FF #FF56AC #FFFE56 #56FFAA
split-complementary
#5657FF #FFAA56 #ACFF56
monochromatic
#0001DB #191AFF #5657FF #9394FF #D0D1FF

Accessibility & contrast

On white

5.00
#5657FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5657FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657FF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657FF#FFFFFF#000000##FFFFFF
##5657FF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5657ff;
/* rgb */ color: rgb(86, 87, 255);
/* oklch */ color: oklch(56.4% 0.242 275.1);
Tailwind
colors: {
  custom: {
    50: '#9987ff',
    500: '#5657ff',
    950: '#000000',
  },
}
SCSS
$custom: #5657ff;
$custom-light: #9987ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ff",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 239.645,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.24179,
    "h": 275.1
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#5657FF
secondary
#F3F3BD
accent
#E400E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5657FF

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

Preview Lab → · Contrast checker → · Palette generator →

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