#5E52BC#5E52BC

#5E52BC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.161 H 284.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5E52BC
RGBrgb(94, 82, 188)
HSLhsl(247, 44%, 53%)
HSVhsv(247, 56%, 74%)
CMYKcmyk(50%, 56.4%, 0%, 26.3%)
CIE-LABlab(41.29, 33.17, -54.51)
CIE-LCHlch(41.29, 63.80, 301.32°)
OKLaboklab(50.74% 0.0395 -0.1557)
OKLCHoklch(50.74% 0.161 284.2)
XYZxyz(16.7078, 12.0443, 49.0116)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52BC #B0BC52
analogous
#527BBC #5E52BC #9352BC
triadic
#5E52BC #BC5E52 #52BC5E
tetradic
#5E52BC #BC527B #B0BC52 #52BC93
square
#5E52BC #BC527B #B0BC52 #52BC93
split-complementary
#5E52BC #BC9352 #7BBC52
monochromatic
#31296A #453A97 #5E52BC #877ECD #B0AADE

Accessibility & contrast

On white

6.16
#5E52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5E52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52BC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52BC#FFFFFF#000000##FFFFFF
##5E52BC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#3B6A7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e52bc;
/* rgb */ color: rgb(94, 82, 188);
/* oklch */ color: oklch(50.7% 0.161 284.2);
Tailwind
colors: {
  custom: {
    50: '#9383d1',
    500: '#5e52bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e52bc;
$custom-light: #9383d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52bc",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 246.792,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.16068,
    "h": 284.2
  },
  "luminance": 0.12045
}

Semantic roles & 50–950 ramp

primary
#5E52BC
secondary
#C7CC9E
accent
#D454C5
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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