#5657EF#5657EF

#5657EF is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 55.0% C 0.222 H 276.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5657EF
RGBrgb(86, 87, 239)
HSLhsl(240, 83%, 64%)
HSVhsv(240, 64%, 94%)
CMYKcmyk(64%, 63.6%, 0%, 6.3%)
CIE-LABlab(45.67, 44.95, -76.63)
CIE-LCHlch(45.67, 88.84, 300.40°)
OKLaboklab(55.01% 0.0231 -0.2209)
OKLCHoklch(55.01% 0.222 276)
XYZxyz(22.8208, 15.0249, 83.3421)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657EF #EFEE56
analogous
#56A3EF #5657EF #A156EF
triadic
#5657EF #EF5657 #57EF56
tetradic
#5657EF #EF56A3 #EFEE56 #56EFA1
square
#5657EF #EF56A3 #EFEE56 #56EFA1
split-complementary
#5657EF #EFA156 #A3EF56
monochromatic
#1213B9 #1E1FEA #5657EF #8E8FF4 #C6C6FA

Accessibility & contrast

On white

5.24
#5657EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5657EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657EF#FFFFFF#000000##FFFFFF
##5657EF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5657ef;
/* rgb */ color: rgb(86, 87, 239);
/* oklch */ color: oklch(55.0% 0.222 276.0);
Tailwind
colors: {
  custom: {
    50: '#9687f5',
    500: '#5657ef',
    950: '#000000',
  },
}
SCSS
$custom: #5657ef;
$custom-light: #9687f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5657ef",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 239.608,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.22215,
    "h": 276
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#5657EF
secondary
#EBEBB5
accent
#DE06DF
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5657EF

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

Preview Lab → · Contrast checker → · Palette generator →

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