#5853D2#5853D2

#5853D2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.190 H 279.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5853D2
RGBrgb(88, 83, 210)
HSLhsl(242, 59%, 57%)
HSVhsv(242, 60%, 82%)
CMYKcmyk(58.1%, 60.5%, 0%, 17.6%)
CIE-LABlab(42.63, 38.33, -65.09)
CIE-LCHlch(42.63, 75.54, 300.49°)
OKLaboklab(52.12% 0.0306 -0.1871)
OKLCHoklch(52.12% 0.19 279.3)
XYZxyz(18.7469, 12.9131, 62.4649)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5853D2 #CDD253
analogous
#538ED2 #5853D2 #9753D2
triadic
#5853D2 #D25853 #53D258
tetradic
#5853D2 #D2538E #CDD253 #53D297
square
#5853D2 #D2538E #CDD253 #53D297
split-complementary
#5853D2 #D29753 #8ED253
monochromatic
#272387 #3530B8 #5853D2 #8784DF #B6B4EB

Accessibility & contrast

On white

5.86
#5853D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5853D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5853D2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5853D2#FFFFFF#000000##FFFFFF
##5853D21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#02728A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5853d2;
/* rgb */ color: rgb(88, 83, 210);
/* oklch */ color: oklch(52.1% 0.190 279.3);
Tailwind
colors: {
  custom: {
    50: '#9284e1',
    500: '#5853d2',
    950: '#000000',
  },
}
SCSS
$custom: #5853d2;
$custom-light: #9284e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5853d2",
  "rgb": {
    "r": 88,
    "g": 83,
    "b": 210
  },
  "hsl": {
    "h": 242.362,
    "s": 58.525,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.18955,
    "h": 279.3
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#5853D2
secondary
#D8DAA7
accent
#E246DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5853D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5853D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva