#5849EE#5849EE

#5849EE is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.9% C 0.236 H 278.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5849EE
RGBrgb(88, 73, 238)
HSLhsl(245, 83%, 61%)
HSVhsv(245, 69%, 93%)
CMYKcmyk(63%, 69.3%, 0%, 6.7%)
CIE-LABlab(42.78, 52.86, -80.79)
CIE-LCHlch(42.78, 96.55, 303.20°)
OKLaboklab(52.93% 0.0357 -0.2331)
OKLCHoklch(52.93% 0.236 278.7)
XYZxyz(21.8347, 13.0111, 82.2331)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849EE #DFEE49
analogous
#498CEE #5849EE #AB49EE
triadic
#5849EE #EE5849 #49EE58
tetradic
#5849EE #EE498C #DFEE49 #49EEAB
square
#5849EE #EE498C #DFEE49 #49EEAB
split-complementary
#5849EE #EEAB49 #8CEE49
monochromatic
#1E10AC #2815E4 #5849EE #8B81F3 #BFB9F8

Accessibility & contrast

On white

5.83
#5849EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5849EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849EE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849EE#FFFFFF#000000##FFFFFF
##5849EE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF3
Deuteranopia (green-blind)
#005EEB
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5849ee;
/* rgb */ color: rgb(88, 73, 238);
/* oklch */ color: oklch(52.9% 0.236 278.7);
Tailwind
colors: {
  custom: {
    50: '#987ef5',
    500: '#5849ee',
    950: '#000000',
  },
}
SCSS
$custom: #5849ee;
$custom-light: #987ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5849ee",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 238
  },
  "hsl": {
    "h": 245.455,
    "s": 82.915,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.23583,
    "h": 278.7
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#5849EE
secondary
#E3E9AA
accent
#DF06CC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5849EE

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

Preview Lab → · Contrast checker → · Palette generator →

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