#5857E3#5857E3

#5857E3 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.207 H 277.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5857E3
RGBrgb(88, 87, 227)
HSLhsl(240, 71%, 62%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.2%, 61.7%, 0%, 11%)
CIE-LABlab(44.85, 41.38, -71.18)
CIE-LCHlch(44.85, 82.34, 300.17°)
OKLaboklab(54.15% 0.0262 -0.2049)
OKLCHoklch(54.15% 0.207 277.3)
XYZxyz(21.2933, 14.4355, 74.3224)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857E3 #E2E357
analogous
#579CE3 #5857E3 #9E57E3
triadic
#5857E3 #E35857 #57E358
tetradic
#5857E3 #E3579C #E2E357 #57E39E
square
#5857E3 #E3579C #E2E357 #57E39E
split-complementary
#5857E3 #E39E57 #9CE357
monochromatic
#1C1BA4 #2524D9 #5857E3 #8C8BEC #C0C0F4

Accessibility & contrast

On white

5.40
#5857E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5857E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857E3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857E3#FFFFFF#000000##FFFFFF
##5857E31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5857e3;
/* rgb */ color: rgb(88, 87, 227);
/* oklch */ color: oklch(54.2% 0.207 277.3);
Tailwind
colors: {
  custom: {
    50: '#9587ed',
    500: '#5857e3',
    950: '#000000',
  },
}
SCSS
$custom: #5857e3;
$custom-light: #9587ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5857e3",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 240.429,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.20659,
    "h": 277.3
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#5857E3
secondary
#E5E5B1
accent
#D312D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5857E3

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

Preview Lab → · Contrast checker → · Palette generator →

#5857E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva