#5B52CE#5B52CE

#5B52CE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.185 H 281.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5B52CE
RGBrgb(91, 82, 206)
HSLhsl(244, 56%, 56%)
HSVhsv(244, 60%, 81%)
CMYKcmyk(55.8%, 60.2%, 0%, 19.2%)
CIE-LABlab(42.33, 38.19, -63.28)
CIE-LCHlch(42.33, 73.90, 301.11°)
OKLaboklab(51.86% 0.0354 -0.1816)
OKLCHoklch(51.86% 0.185 281)
XYZxyz(18.4688, 12.7138, 59.8614)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52CE #C5CE52
analogous
#5287CE #5B52CE #9952CE
triadic
#5B52CE #CE5B52 #52CE5B
tetradic
#5B52CE #CE5287 #C5CE52 #52CE99
square
#5B52CE #CE5287 #C5CE52 #52CE99
split-complementary
#5B52CE #CE9952 #87CE52
monochromatic
#2B2581 #3B32B1 #5B52CE #8882DC #B5B1E9

Accessibility & contrast

On white

5.93
#5B52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5B52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52CE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52CE#FFFFFF#000000##FFFFFF
##5B52CE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#207088
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b52ce;
/* rgb */ color: rgb(91, 82, 206);
/* oklch */ color: oklch(51.9% 0.185 281.0);
Tailwind
colors: {
  custom: {
    50: '#9383de',
    500: '#5b52ce',
    950: '#000000',
  },
}
SCSS
$custom: #5b52ce;
$custom-light: #9383de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52ce",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 244.355,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.18506,
    "h": 281
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#5B52CE
secondary
#D4D7A4
accent
#DF49D4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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