#5849EB#5849EB

#5849EB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.232 H 279.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5849EB
RGBrgb(88, 73, 235)
HSLhsl(246, 80%, 60%)
HSVhsv(246, 69%, 92%)
CMYKcmyk(62.6%, 68.9%, 0%, 7.8%)
CIE-LABlab(42.52, 51.94, -79.53)
CIE-LCHlch(42.52, 94.99, 303.15°)
OKLaboklab(52.66% 0.0362 -0.2294)
OKLCHoklch(52.66% 0.232 279)
XYZxyz(21.3976, 12.8363, 79.9312)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849EB #DCEB49
analogous
#498BEB #5849EB #A949EB
triadic
#5849EB #EB5849 #49EB58
tetradic
#5849EB #EB498B #DCEB49 #49EBA9
square
#5849EB #EB498B #DCEB49 #49EBA9
split-complementary
#5849EB #EBA949 #8BEB49
monochromatic
#2012A7 #2B18DE #5849EB #8B80F1 #BDB7F7

Accessibility & contrast

On white

5.89
#5849EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5849EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849EB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849EB#FFFFFF#000000##FFFFFF
##5849EB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF0
Deuteranopia (green-blind)
#005EE8
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5849eb;
/* rgb */ color: rgb(88, 73, 235);
/* oklch */ color: oklch(52.7% 0.232 279.0);
Tailwind
colors: {
  custom: {
    50: '#977ef3',
    500: '#5849eb',
    950: '#000000',
  },
}
SCSS
$custom: #5849eb;
$custom-light: #977ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5849eb",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 235
  },
  "hsl": {
    "h": 245.556,
    "s": 80.198,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.23227,
    "h": 279
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#5849EB
secondary
#E1E7A9
accent
#DD09C9
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5849EB

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

Preview Lab → · Contrast checker → · Palette generator →

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