#5846C8#5846C8

#5846C8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.2% C 0.193 H 283.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5846C8
RGBrgb(88, 70, 200)
HSLhsl(248, 54%, 53%)
HSVhsv(248, 65%, 78%)
CMYKcmyk(56%, 65%, 0%, 21.6%)
CIE-LABlab(38.94, 42.88, -65.33)
CIE-LCHlch(38.94, 78.15, 303.28°)
OKLaboklab(49.18% 0.0434 -0.1878)
OKLCHoklch(49.18% 0.193 283)
XYZxyz(16.6368, 10.6241, 55.8064)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846C8 #B6C846
analogous
#4675C8 #5846C8 #9946C8
triadic
#5846C8 #C85846 #46C858
tetradic
#5846C8 #C84675 #B6C846 #46C899
square
#5846C8 #C84675 #B6C846 #46C899
split-complementary
#5846C8 #C89946 #75C846
monochromatic
#2D2272 #4030A1 #5846C8 #8375D6 #ADA4E4

Accessibility & contrast

On white

6.72
#5846C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5846C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846C8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846C8#FFFFFF#000000##FFFFFF
##5846C81.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#206781
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5846c8;
/* rgb */ color: rgb(88, 70, 200);
/* oklch */ color: oklch(49.2% 0.193 283.0);
Tailwind
colors: {
  custom: {
    50: '#927bda',
    500: '#5846c8',
    950: '#000000',
  },
}
SCSS
$custom: #5846c8;
$custom-light: #927bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5846c8",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 248.308,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.19274,
    "h": 283
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#5846C8
secondary
#C9D199
accent
#DE4AC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5846C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva