#5B57DF#5B57DF

#5B57DF is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.0% C 0.201 H 278.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5B57DF
RGBrgb(91, 87, 223)
HSLhsl(242, 68%, 61%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(59.2%, 61%, 0%, 12.5%)
CIE-LABlab(44.75, 40.58, -69.06)
CIE-LCHlch(44.75, 80.10, 300.44°)
OKLaboklab(54.04% 0.03 -0.1986)
OKLCHoklch(54.04% 0.201 278.6)
XYZxyz(21.0376, 14.3667, 71.4622)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B57DF #DBDF57
analogous
#5797DF #5B57DF #9F57DF
triadic
#5B57DF #DF5B57 #57DF5B
tetradic
#5B57DF #DF5797 #DBDF57 #57DF9F
square
#5B57DF #DF5797 #DBDF57 #57DF9F
split-complementary
#5B57DF #DF9F57 #97DF57
monochromatic
#221E9E #2D28D1 #5B57DF #8D8AE9 #BFBEF3

Accessibility & contrast

On white

5.42
#5B57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5B57DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B57DF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B57DF#FFFFFF#000000##FFFFFF
##5B57DF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b57df;
/* rgb */ color: rgb(91, 87, 223);
/* oklch */ color: oklch(54.0% 0.201 278.6);
Tailwind
colors: {
  custom: {
    50: '#9687ea',
    500: '#5b57df',
    950: '#000000',
  },
}
SCSS
$custom: #5b57df;
$custom-light: #9687ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b57df",
  "rgb": {
    "r": 91,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 241.765,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.20085,
    "h": 278.6
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#5B57DF
secondary
#E1E3AF
accent
#D016CA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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