#5852A4#5852A4

#5852A4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.128 H 283.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5852A4
RGBrgb(88, 82, 164)
HSLhsl(244, 33%, 48%)
HSVhsv(244, 50%, 64%)
CMYKcmyk(46.3%, 50%, 0%, 35.7%)
CIE-LABlab(39.22, 24.39, -43.69)
CIE-LCHlch(39.22, 50.03, 299.17°)
OKLaboklab(48.58% 0.0307 -0.1241)
OKLCHoklch(48.58% 0.128 283.9)
XYZxyz(13.7407, 10.7890, 36.4732)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852A4 #9EA452
analogous
#5275A4 #5852A4 #8152A4
triadic
#5852A4 #A45852 #52A458
tetradic
#5852A4 #A45275 #9EA452 #52A481
square
#5852A4 #A45275 #9EA452 #52A481
split-complementary
#5852A4 #A48152 #75A452
monochromatic
#2C2952 #423E7B #5852A4 #7D78BB #A4A1D0

Accessibility & contrast

On white

6.65
#5852A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5852A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852A4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852A4#FFFFFF#000000##FFFFFF
##5852A41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA7
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#3F6373
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5852a4;
/* rgb */ color: rgb(88, 82, 164);
/* oklch */ color: oklch(48.6% 0.128 283.9);
Tailwind
colors: {
  custom: {
    50: '#8c82bf',
    500: '#5852a4',
    950: '#000000',
  },
}
SCSS
$custom: #5852a4;
$custom-light: #8c82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5852a4",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 244.39,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.12785,
    "h": 283.9
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#5852A4
secondary
#BABD95
accent
#C95EC2
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #5852A4

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

Preview Lab → · Contrast checker → · Palette generator →

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