#5C57DB#5C57DB

#5C57DB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.8% C 0.196 H 279.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5C57DB
RGBrgb(92, 87, 219)
HSLhsl(242, 65%, 60%)
HSVhsv(242, 60%, 86%)
CMYKcmyk(58%, 60.3%, 0%, 14.1%)
CIE-LABlab(44.53, 39.48, -67.15)
CIE-LCHlch(44.53, 77.90, 300.45°)
OKLaboklab(53.8% 0.0314 -0.193)
OKLCHoklch(53.8% 0.196 279.2)
XYZxyz(20.6040, 14.2047, 68.6601)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C57DB #D6DB57
analogous
#5794DB #5C57DB #9E57DB
triadic
#5C57DB #DB5C57 #57DB5C
tetradic
#5C57DB #DB5794 #D6DB57 #57DB9E
square
#5C57DB #DB5794 #D6DB57 #57DB9E
split-complementary
#5C57DB #DB9E57 #94DB57
monochromatic
#252097 #312BCA #5C57DB #8D89E6 #BEBCF1

Accessibility & contrast

On white

5.47
#5C57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5C57DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C57DB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C57DB#FFFFFF#000000##FFFFFF
##5C57DB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#017791
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c57db;
/* rgb */ color: rgb(92, 87, 219);
/* oklch */ color: oklch(53.8% 0.196 279.2);
Tailwind
colors: {
  custom: {
    50: '#9687e7',
    500: '#5c57db',
    950: '#000000',
  },
}
SCSS
$custom: #5c57db;
$custom-light: #9687e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c57db",
  "rgb": {
    "r": 92,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 242.273,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.53795,
    "c": 0.19551,
    "h": 279.2
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#5C57DB
secondary
#DEE0AD
accent
#E840E1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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