#5B52DB#5B52DB

#5B52DB is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.9% C 0.202 H 279.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5B52DB
RGBrgb(91, 82, 219)
HSLhsl(244, 66%, 59%)
HSVhsv(244, 63%, 86%)
CMYKcmyk(58.4%, 62.6%, 0%, 14.1%)
CIE-LABlab(43.32, 42.28, -69.12)
CIE-LCHlch(43.32, 81.02, 301.45°)
OKLaboklab(52.89% 0.0347 -0.1988)
OKLCHoklch(52.89% 0.202 279.9)
XYZxyz(20.1138, 13.3718, 68.5252)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52DB #D2DB52
analogous
#528EDB #5B52DB #A052DB
triadic
#5B52DB #DB5B52 #52DB5B
tetradic
#5B52DB #DB528E #D2DB52 #52DBA0
square
#5B52DB #DB528E #D2DB52 #52DBA0
split-complementary
#5B52DB #DBA052 #8EDB52
monochromatic
#261F94 #3429C6 #5B52DB #8B85E6 #BBB7F0

Accessibility & contrast

On white

5.71
#5B52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5B52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52DB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52DB#FFFFFF#000000##FFFFFF
##5B52DB1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b52db;
/* rgb */ color: rgb(91, 82, 219);
/* oklch */ color: oklch(52.9% 0.202 279.9);
Tailwind
colors: {
  custom: {
    50: '#9583e7',
    500: '#5b52db',
    950: '#000000',
  },
}
SCSS
$custom: #5b52db;
$custom-light: #9583e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52db",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 243.942,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.20181,
    "h": 279.9
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#5B52DB
secondary
#DCDFAA
accent
#E93FDD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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