#5849CF#5849CF

#5849CF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.198 H 281.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5849CF
RGBrgb(88, 73, 207)
HSLhsl(247, 58%, 55%)
HSVhsv(247, 65%, 81%)
CMYKcmyk(57.5%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.15, 43.30, -67.41)
CIE-LCHlch(40.15, 80.12, 302.72°)
OKLaboklab(50.23% 0.0399 -0.1939)
OKLCHoklch(50.23% 0.198 281.6)
XYZxyz(17.6660, 11.3436, 60.2780)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849CF #C0CF49
analogous
#497DCF #5849CF #9B49CF
triadic
#5849CF #CF5849 #49CF58
tetradic
#5849CF #CF497D #C0CF49 #49CF9B
square
#5849CF #CF497D #C0CF49 #49CF9B
split-complementary
#5849CF #CF9B49 #7DCF49
monochromatic
#2B217D #3C2EAD #5849CF #8479DC #B1AAE9

Accessibility & contrast

On white

6.42
#5849CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5849CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849CF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849CF#FFFFFF#000000##FFFFFF
##5849CF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#126B85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5849cf;
/* rgb */ color: rgb(88, 73, 207);
/* oklch */ color: oklch(50.2% 0.198 281.6);
Tailwind
colors: {
  custom: {
    50: '#937ddf',
    500: '#5849cf',
    950: '#000000',
  },
}
SCSS
$custom: #5849cf;
$custom-light: #937ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5849cf",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 246.716,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50233,
    "c": 0.19795,
    "h": 281.6
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#5849CF
secondary
#D0D69E
accent
#E146D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5849CF

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

Preview Lab → · Contrast checker → · Palette generator →

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