#5852CB#5852CB

#5852CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.182 H 280.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5852CB
RGBrgb(88, 82, 203)
HSLhsl(243, 54%, 56%)
HSVhsv(243, 60%, 80%)
CMYKcmyk(56.7%, 59.6%, 0%, 20.4%)
CIE-LABlab(41.88, 36.70, -62.29)
CIE-LCHlch(41.88, 72.30, 300.50°)
OKLaboklab(51.4% 0.0318 -0.1788)
OKLCHoklch(51.4% 0.182 280.1)
XYZxyz(17.8179, 12.4199, 57.9467)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5852CB #C5CB52
analogous
#5288CB #5852CB #9452CB
triadic
#5852CB #CB5852 #52CB58
tetradic
#5852CB #CB5288 #C5CB52 #52CB94
square
#5852CB #CB5288 #C5CB52 #52CB94
split-complementary
#5852CB #CB9452 #88CB52
monochromatic
#2A267D #3A34AC #5852CB #8581D9 #B3B0E7

Accessibility & contrast

On white

6.03
#5852CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5852CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5852CB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5852CB#FFFFFF#000000##FFFFFF
##5852CB1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#186F86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5852cb;
/* rgb */ color: rgb(88, 82, 203);
/* oklch */ color: oklch(51.4% 0.182 280.1);
Tailwind
colors: {
  custom: {
    50: '#9183dc',
    500: '#5852cb',
    950: '#000000',
  },
}
SCSS
$custom: #5852cb;
$custom-light: #9183dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5852cb",
  "rgb": {
    "r": 88,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 242.975,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.18163,
    "h": 280.1
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#5852CB
secondary
#D3D5A3
accent
#DD4BD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5852CB

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

Preview Lab → · Contrast checker → · Palette generator →

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