#5849C7#5849C7

#5849C7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.188 H 282.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5849C7
RGBrgb(88, 73, 199)
HSLhsl(247, 53%, 53%)
HSVhsv(247, 63%, 78%)
CMYKcmyk(55.8%, 63.3%, 0%, 22%)
CIE-LABlab(39.52, 40.82, -63.81)
CIE-LCHlch(39.52, 75.75, 302.61°)
OKLaboklab(49.57% 0.0407 -0.1833)
OKLCHoklch(49.57% 0.188 282.5)
XYZxyz(16.7127, 10.9623, 55.2570)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849C7 #B8C749
analogous
#4979C7 #5849C7 #9749C7
triadic
#5849C7 #C75849 #49C758
tetradic
#5849C7 #C74979 #B8C749 #49C797
square
#5849C7 #C74979 #B8C749 #49C797
split-complementary
#5849C7 #C79749 #79C749
monochromatic
#2D2372 #3F32A1 #5849C7 #8378D5 #AEA7E4

Accessibility & contrast

On white

6.58
#5849C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5849C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849C7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849C7#FFFFFF#000000##FFFFFF
##5849C71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#216881
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5849c7;
/* rgb */ color: rgb(88, 73, 199);
/* oklch */ color: oklch(49.6% 0.188 282.5);
Tailwind
colors: {
  custom: {
    50: '#917dd9',
    500: '#5849c7',
    950: '#000000',
  },
}
SCSS
$custom: #5849c7;
$custom-light: #917dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5849c7",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 247.143,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.18779,
    "h": 282.5
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#5849C7
secondary
#CBD19B
accent
#DC4BCB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5849C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5849C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva