#5E57BF#5E57BF

#5E57BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.158 H 282.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5E57BF
RGBrgb(94, 87, 191)
HSLhsl(244, 45%, 55%)
HSVhsv(244, 54%, 75%)
CMYKcmyk(50.8%, 54.5%, 0%, 25.1%)
CIE-LABlab(42.70, 31.04, -53.98)
CIE-LCHlch(42.70, 62.27, 299.90°)
OKLaboklab(51.86% 0.034 -0.1542)
OKLCHoklch(51.86% 0.158 282.4)
XYZxyz(17.4254, 12.9567, 50.8628)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57BF #B8BF57
analogous
#5784BF #5E57BF #9257BF
triadic
#5E57BF #BF5E57 #57BF5E
tetradic
#5E57BF #BF5784 #B8BF57 #57BF92
square
#5E57BF #BF5784 #B8BF57 #57BF92
split-complementary
#5E57BF #BF9257 #84BF57
monochromatic
#302B71 #423C9D #5E57BF #8883D0 #B3B0E1

Accessibility & contrast

On white

5.85
#5E57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57BF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57BF#FFFFFF#000000##FFFFFF
##5E57BF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#386E82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e57bf;
/* rgb */ color: rgb(94, 87, 191);
/* oklch */ color: oklch(51.9% 0.158 282.4);
Tailwind
colors: {
  custom: {
    50: '#9386d3',
    500: '#5e57bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e57bf;
$custom-light: #9386d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57bf",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 244.038,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.15787,
    "h": 282.4
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#5E57BF
secondary
#CCCFA3
accent
#D553CC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5E57BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5E57BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva