#5E52BD#5E52BD

#5E52BD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.162 H 284.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5E52BD
RGBrgb(94, 82, 189)
HSLhsl(247, 45%, 53%)
HSVhsv(247, 57%, 74%)
CMYKcmyk(50.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(41.35, 33.47, -54.98)
CIE-LCHlch(41.35, 64.37, 301.33°)
OKLaboklab(50.82% 0.0395 -0.1572)
OKLCHoklch(50.82% 0.162 284.1)
XYZxyz(16.8159, 12.0875, 49.5813)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52BD #B1BD52
analogous
#527BBD #5E52BD #9352BD
triadic
#5E52BD #BD5E52 #52BD5E
tetradic
#5E52BD #BD527B #B1BD52 #52BD93
square
#5E52BD #BD527B #B1BD52 #52BD93
split-complementary
#5E52BD #BD9352 #7BBD52
monochromatic
#30296C #443A98 #5E52BD #877ECE #B0ABDF

Accessibility & contrast

On white

6.14
#5E52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52BD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52BD#FFFFFF#000000##FFFFFF
##5E52BD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#3B6A7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e52bd;
/* rgb */ color: rgb(94, 82, 189);
/* oklch */ color: oklch(50.8% 0.162 284.1);
Tailwind
colors: {
  custom: {
    50: '#9383d2',
    500: '#5e52bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e52bd;
$custom-light: #9383d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52bd",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 246.729,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.16204,
    "h": 284.1
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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