#5657F3#5657F3

#5657F3 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.227 H 275.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5657F3
RGBrgb(86, 87, 243)
HSLhsl(240, 87%, 65%)
HSVhsv(240, 65%, 95%)
CMYKcmyk(64.6%, 64.2%, 0%, 4.7%)
CIE-LABlab(45.99, 46.24, -78.34)
CIE-LCHlch(45.99, 90.97, 300.55°)
OKLaboklab(55.35% 0.0228 -0.226)
OKLCHoklch(55.35% 0.227 275.7)
XYZxyz(23.4183, 15.2639, 86.4888)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5657F3 #F3F256
analogous
#56A6F3 #5657F3 #A456F3
triadic
#5657F3 #F35657 #57F356
tetradic
#5657F3 #F356A6 #F3F256 #56F3A4
square
#5657F3 #F356A6 #F3F256 #56F3A4
split-complementary
#5657F3 #F3A456 #A6F356
monochromatic
#0E0FC1 #1D1EEF #5657F3 #8F90F7 #C8C9FB

Accessibility & contrast

On white

5.18
#5657F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5657F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5657F3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5657F3#FFFFFF#000000##FFFFFF
##5657F31.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#0066F0
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5657f3;
/* rgb */ color: rgb(86, 87, 243);
/* oklch */ color: oklch(55.3% 0.227 275.7);
Tailwind
colors: {
  custom: {
    50: '#9787f8',
    500: '#5657f3',
    950: '#000000',
  },
}
SCSS
$custom: #5657f3;
$custom-light: #9787f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5657f3",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 239.618,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.22712,
    "h": 275.7
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#5657F3
secondary
#EDEDB7
accent
#E202E3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5657F3

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

Preview Lab → · Contrast checker → · Palette generator →

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