#5849E2#5849E2

#5849E2 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.221 H 279.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5849E2
RGBrgb(88, 73, 226)
HSLhsl(246, 73%, 59%)
HSVhsv(246, 68%, 89%)
CMYKcmyk(61.1%, 67.7%, 0%, 11.4%)
CIE-LABlab(41.73, 49.18, -75.71)
CIE-LCHlch(41.73, 90.28, 303.01°)
OKLaboklab(51.86% 0.0375 -0.2182)
OKLCHoklch(51.86% 0.221 279.8)
XYZxyz(20.1302, 12.3293, 73.2558)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849E2 #D3E249
analogous
#4986E2 #5849E2 #A449E2
triadic
#5849E2 #E25849 #49E258
tetradic
#5849E2 #E24986 #D3E249 #49E2A4
square
#5849E2 #E24986 #D3E249 #49E2A4
split-complementary
#5849E2 #E2A449 #86E249
monochromatic
#251898 #3221CD #5849E2 #887EEA #B9B3F3

Accessibility & contrast

On white

6.06
#5849E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5849E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849E2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849E2#FFFFFF#000000##FFFFFF
##5849E21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5849e2;
/* rgb */ color: rgb(88, 73, 226);
/* oklch */ color: oklch(51.9% 0.221 279.8);
Tailwind
colors: {
  custom: {
    50: '#967dec',
    500: '#5849e2',
    950: '#000000',
  },
}
SCSS
$custom: #5849e2;
$custom-light: #967dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5849e2",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 245.882,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.22143,
    "h": 279.8
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#5849E2
secondary
#DCE2A5
accent
#EF39DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5849E2

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

Preview Lab → · Contrast checker → · Palette generator →

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