#5849DF#5849DF

#5849DF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.218 H 280.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5849DF
RGBrgb(88, 73, 223)
HSLhsl(246, 70%, 58%)
HSVhsv(246, 67%, 87%)
CMYKcmyk(60.5%, 67.3%, 0%, 12.5%)
CIE-LABlab(41.48, 48.26, -74.42)
CIE-LCHlch(41.48, 88.69, 302.96°)
OKLaboklab(51.6% 0.038 -0.2145)
OKLCHoklch(51.6% 0.218 280)
XYZxyz(19.7221, 12.1661, 71.1067)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5849DF #D0DF49
analogous
#4985DF #5849DF #A349DF
triadic
#5849DF #DF5849 #49DF58
tetradic
#5849DF #DF4985 #D0DF49 #49DFA3
square
#5849DF #DF4985 #D0DF49 #49DFA3
split-complementary
#5849DF #DFA349 #85DF49
monochromatic
#261A94 #3423C8 #5849DF #887DE8 #B8B1F1

Accessibility & contrast

On white

6.12
#5849DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5849DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5849DF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5849DF#FFFFFF#000000##FFFFFF
##5849DF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5849df;
/* rgb */ color: rgb(88, 73, 223);
/* oklch */ color: oklch(51.6% 0.218 280.0);
Tailwind
colors: {
  custom: {
    50: '#957dea',
    500: '#5849df',
    950: '#000000',
  },
}
SCSS
$custom: #5849df;
$custom-light: #957dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5849df",
  "rgb": {
    "r": 88,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 246,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.21779,
    "h": 280
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#5849DF
secondary
#DAE0A4
accent
#ED3BDB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5849DF

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

Preview Lab → · Contrast checker → · Palette generator →

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