#5B52DF#5B52DF

#5B52DF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.2% C 0.207 H 279.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5B52DF
RGBrgb(91, 82, 223)
HSLhsl(244, 69%, 60%)
HSVhsv(244, 63%, 87%)
CMYKcmyk(59.2%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.63, 43.53, -70.89)
CIE-LCHlch(43.63, 83.19, 301.55°)
OKLaboklab(53.22% 0.0344 -0.204)
OKLCHoklch(53.22% 0.207 279.6)
XYZxyz(20.6467, 13.5850, 71.3319)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52DF #D6DF52
analogous
#528FDF #5B52DF #A252DF
triadic
#5B52DF #DF5B52 #52DF5B
tetradic
#5B52DF #DF528F #D6DF52 #52DFA2
square
#5B52DF #DF528F #D6DF52 #52DFA2
split-complementary
#5B52DF #DFA252 #8FDF52
monochromatic
#251D9A #3126CE #5B52DF #8C86E9 #BDB9F2

Accessibility & contrast

On white

5.65
#5B52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5B52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52DF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52DF#FFFFFF#000000##FFFFFF
##5B52DF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b52df;
/* rgb */ color: rgb(91, 82, 223);
/* oklch */ color: oklch(53.2% 0.207 279.6);
Tailwind
colors: {
  custom: {
    50: '#9683ea',
    500: '#5b52df',
    950: '#000000',
  },
}
SCSS
$custom: #5b52df;
$custom-light: #9683ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52df",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 243.83,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.20688,
    "h": 279.6
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#5B52DF
secondary
#DEE2AB
accent
#EC3CE0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5B52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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