#5852BD#5852BD

#5852BD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.163 H 281.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5852BD
RGBrgb(88, 82, 189)
HSLhsl(243, 45%, 53%)
HSVhsv(243, 57%, 74%)
CMYKcmyk(53.4%, 56.6%, 0%, 25.9%)
CIE-LABlab(40.87, 32.24, -55.79)
CIE-LCHlch(40.87, 64.44, 300.02°)
OKLaboklab(50.33% 0.032 -0.1597)
OKLCHoklch(50.33% 0.163 281.3)
XYZxyz(16.2243, 11.7825, 49.5536)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852BD #B7BD52
analogous
#5282BD #5852BD #8D52BD
triadic
#5852BD #BD5852 #52BD58
tetradic
#5852BD #BD5282 #B7BD52 #52BD8D
square
#5852BD #BD5282 #B7BD52 #52BD8D
split-complementary
#5852BD #BD8D52 #82BD52
monochromatic
#2D296C #3F3A98 #5852BD #837ECE #AEABDF

Accessibility & contrast

On white

6.26
#5852BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5852BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852BD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852BD#FFFFFF#000000##FFFFFF
##5852BD1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#2C6B7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5852bd;
/* rgb */ color: rgb(88, 82, 189);
/* oklch */ color: oklch(50.3% 0.163 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f83d2',
    500: '#5852bd',
    950: '#000000',
  },
}
SCSS
$custom: #5852bd;
$custom-light: #8f83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5852bd",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 243.364,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50333,
    "c": 0.16287,
    "h": 281.3
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#5852BD
secondary
#CACC9E
accent
#D453CD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5852BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5852BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva