#5D57BC#5D57BC

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

Color values

HEX#5D57BC
RGBrgb(93, 87, 188)
HSLhsl(244, 43%, 54%)
HSVhsv(244, 54%, 74%)
CMYKcmyk(50.5%, 53.7%, 0%, 26.3%)
CIE-LABlab(42.42, 29.88, -52.68)
CIE-LCHlch(42.42, 60.57, 299.56°)
OKLaboklab(51.57% 0.0326 -0.1504)
OKLCHoklch(51.57% 0.154 282.2)
XYZxyz(16.9967, 12.7735, 49.1371)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57BC #B6BC57
analogous
#5784BC #5D57BC #9057BC
triadic
#5D57BC #BC5D57 #57BC5D
tetradic
#5D57BC #BC5784 #B6BC57 #57BC90
square
#5D57BC #BC5784 #B6BC57 #57BC90
split-complementary
#5D57BC #BC9057 #84BC57
monochromatic
#2F2C6D #423D99 #5D57BC #8783CD #B1AFDF

Accessibility & contrast

On white

5.91
#5D57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5D57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57BC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57BC#FFFFFF#000000##FFFFFF
##5D57BC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68BF
Deuteranopia (green-blind)
#1561BA
Tritanopia (blue-blind)
#386D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d57bc;
/* rgb */ color: rgb(93, 87, 188);
/* oklch */ color: oklch(51.6% 0.154 282.2);
Tailwind
colors: {
  custom: {
    50: '#9286d1',
    500: '#5d57bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d57bc;
$custom-light: #9286d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57bc",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 243.564,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.15388,
    "h": 282.2
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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