#5842D0#5842D0

#5842D0 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.207 H 282.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5842D0
RGBrgb(88, 66, 208)
HSLhsl(249, 60%, 54%)
HSVhsv(249, 68%, 82%)
CMYKcmyk(57.7%, 68.3%, 0%, 18.4%)
CIE-LABlab(38.77, 47.59, -70.25)
CIE-LCHlch(38.77, 84.85, 304.12°)
OKLaboklab(49.26% 0.0457 -0.2022)
OKLCHoklch(49.26% 0.207 282.7)
XYZxyz(17.3544, 10.5241, 60.7791)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5842D0 #BAD042
analogous
#4273D0 #5842D0 #9F42D0
triadic
#5842D0 #D05842 #42D058
tetradic
#5842D0 #D04273 #BAD042 #42D09F
square
#5842D0 #D04273 #BAD042 #42D09F
split-complementary
#5842D0 #D09F42 #73D042
monochromatic
#2C1E79 #3E2AAA #5842D0 #8373DC #AFA4E8

Accessibility & contrast

On white

6.76
#5842D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5842D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5842D0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5842D0#FFFFFF#000000##FFFFFF
##5842D01.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0056CD
Tritanopia (blue-blind)
#116784
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5842d0;
/* rgb */ color: rgb(88, 66, 208);
/* oklch */ color: oklch(49.3% 0.207 282.7);
Tailwind
colors: {
  custom: {
    50: '#9378df',
    500: '#5842d0',
    950: '#000000',
  },
}
SCSS
$custom: #5842d0;
$custom-light: #9378df;
$custom-dark: #000000;
JSON
{
  "hex": "#5842d0",
  "rgb": {
    "r": 88,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 249.296,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.20734,
    "h": 282.7
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#5842D0
secondary
#CCD599
accent
#E344CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5842D0

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

Preview Lab → · Contrast checker → · Palette generator →

#5842D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva