#5849EC#5849EC

#5849EC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.233 H 278.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5849EC
RGBrgb(88, 73, 236)
HSLhsl(246, 81%, 61%)
HSVhsv(246, 69%, 93%)
CMYKcmyk(62.7%, 69.1%, 0%, 7.5%)
CIE-LABlab(42.60, 52.25, -79.95)
CIE-LCHlch(42.60, 95.51, 303.17°)
OKLaboklab(52.75% 0.036 -0.2307)
OKLCHoklch(52.75% 0.233 278.9)
XYZxyz(21.5425, 12.8942, 80.6942)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849EC #DDEC49
analogous
#498CEC #5849EC #A949EC
triadic
#5849EC #EC5849 #49EC58
tetradic
#5849EC #EC498C #DDEC49 #49ECA9
square
#5849EC #EC498C #DDEC49 #49ECA9
split-complementary
#5849EC #ECA949 #8CEC49
monochromatic
#2012A9 #2A17E0 #5849EC #8B80F2 #BEB8F8

Accessibility & contrast

On white

5.87
#5849EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5849EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849EC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849EC#FFFFFF#000000##FFFFFF
##5849EC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5849ec;
/* rgb */ color: rgb(88, 73, 236);
/* oklch */ color: oklch(52.8% 0.233 278.9);
Tailwind
colors: {
  custom: {
    50: '#977ef3',
    500: '#5849ec',
    950: '#000000',
  },
}
SCSS
$custom: #5849ec;
$custom-light: #977ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5849ec",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 245.521,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.23346,
    "h": 278.9
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#5849EC
secondary
#E2E7A9
accent
#DD08CA
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5849EC

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

Preview Lab → · Contrast checker → · Palette generator →

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