#5B52CF#5B52CF

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

Color values

HEX#5B52CF
RGBrgb(91, 82, 207)
HSLhsl(244, 57%, 57%)
HSVhsv(244, 60%, 81%)
CMYKcmyk(56%, 60.4%, 0%, 18.8%)
CIE-LABlab(42.40, 38.50, -63.73)
CIE-LCHlch(42.40, 74.46, 301.14°)
OKLaboklab(51.93% 0.0354 -0.183)
OKLCHoklch(51.93% 0.186 280.9)
XYZxyz(18.5907, 12.7625, 60.5032)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52CF #C6CF52
analogous
#5288CF #5B52CF #9A52CF
triadic
#5B52CF #CF5B52 #52CF5B
tetradic
#5B52CF #CF5288 #C6CF52 #52CF9A
square
#5B52CF #CF5288 #C6CF52 #52CF9A
split-complementary
#5B52CF #CF9A52 #88CF52
monochromatic
#2B2482 #3B31B2 #5B52CF #8882DC #B6B2EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B52CF#FFFFFF#000000##FFFFFF
##5B52CF1.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)
#0069D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#1E7089
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b52cf;
/* rgb */ color: rgb(91, 82, 207);
/* oklch */ color: oklch(51.9% 0.186 280.9);
Tailwind
colors: {
  custom: {
    50: '#9483df',
    500: '#5b52cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b52cf;
$custom-light: #9483df;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52cf",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 244.32,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.18636,
    "h": 280.9
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#5B52CF
secondary
#D4D8A5
accent
#E048D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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