#5D52BE#5D52BE

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

Color values

HEX#5D52BE
RGBrgb(93, 82, 190)
HSLhsl(246, 45%, 53%)
HSVhsv(246, 57%, 75%)
CMYKcmyk(51.1%, 56.8%, 0%, 25.5%)
CIE-LABlab(41.34, 33.57, -55.59)
CIE-LCHlch(41.34, 64.94, 301.13°)
OKLaboklab(50.81% 0.0383 -0.159)
OKLCHoklch(50.81% 0.164 283.5)
XYZxyz(16.8230, 12.0786, 50.1502)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52BE #B3BE52
analogous
#527DBE #5D52BE #9352BE
triadic
#5D52BE #BE5D52 #52BE5D
tetradic
#5D52BE #BE527D #B3BE52 #52BE93
square
#5D52BE #BE527D #B3BE52 #52BE93
split-complementary
#5D52BE #BE9352 #7DBE52
monochromatic
#30296D #433A99 #5D52BE #877ECF #B0ABDF

Accessibility & contrast

On white

6.15
#5D52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D52BE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52BE#FFFFFF#000000##FFFFFF
##5D52BE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#386B80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d52be;
/* rgb */ color: rgb(93, 82, 190);
/* oklch */ color: oklch(50.8% 0.164 283.5);
Tailwind
colors: {
  custom: {
    50: '#9283d2',
    500: '#5d52be',
    950: '#000000',
  },
}
SCSS
$custom: #5d52be;
$custom-light: #9283d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52be",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 246.111,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.16351,
    "h": 283.5
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#5D52BE
secondary
#C8CD9F
accent
#D553C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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