#5E57BC#5E57BC

#5E57BC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.154 H 282.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5E57BC
RGBrgb(94, 87, 188)
HSLhsl(244, 43%, 54%)
HSVhsv(244, 54%, 74%)
CMYKcmyk(50%, 53.7%, 0%, 26.3%)
CIE-LABlab(42.50, 30.10, -52.55)
CIE-LCHlch(42.50, 60.56, 299.80°)
OKLaboklab(51.64% 0.0338 -0.15)
OKLCHoklch(51.64% 0.154 282.7)
XYZxyz(17.0986, 12.8260, 49.1419)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57BC #B5BC57
analogous
#5783BC #5E57BC #9157BC
triadic
#5E57BC #BC5E57 #57BC5E
tetradic
#5E57BC #BC5783 #B5BC57 #57BC91
square
#5E57BC #BC5783 #B5BC57 #57BC91
split-complementary
#5E57BC #BC9157 #83BC57
monochromatic
#302C6D #433D99 #5E57BC #8883CD #B2AFDF

Accessibility & contrast

On white

5.89
#5E57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5E57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57BC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57BC#FFFFFF#000000##FFFFFF
##5E57BC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068BF
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#3B6D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e57bc;
/* rgb */ color: rgb(94, 87, 188);
/* oklch */ color: oklch(51.6% 0.154 282.7);
Tailwind
colors: {
  custom: {
    50: '#9286d1',
    500: '#5e57bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e57bc;
$custom-light: #9286d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57bc",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 244.158,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51644,
    "c": 0.15374,
    "h": 282.7
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#5E57BC
secondary
#CACDA2
accent
#D355CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5E57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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