#5845DE#5845DE

#5845DE is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.221 H 280.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5845DE
RGBrgb(88, 69, 222)
HSLhsl(247, 70%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(60.4%, 68.9%, 0%, 12.9%)
CIE-LABlab(40.58, 50.18, -75.32)
CIE-LCHlch(40.58, 90.51, 303.67°)
OKLaboklab(50.93% 0.0412 -0.2171)
OKLCHoklch(50.93% 0.221 280.7)
XYZxyz(19.3333, 11.6035, 70.3140)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5845DE #CBDE45
analogous
#457FDE #5845DE #A545DE
triadic
#5845DE #DE5845 #45DE58
tetradic
#5845DE #DE457F #CBDE45 #45DEA5
square
#5845DE #DE457F #CBDE45 #45DEA5
split-complementary
#5845DE #DEA545 #7FDE45
monochromatic
#28198F #3723C3 #5845DE #8779E7 #B5ADF0

Accessibility & contrast

On white

6.32
#5845DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5845DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5845DE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5845DE#FFFFFF#000000##FFFFFF
##5845DE1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E3
Deuteranopia (green-blind)
#005ADB
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5845de;
/* rgb */ color: rgb(88, 69, 222);
/* oklch */ color: oklch(50.9% 0.221 280.7);
Tailwind
colors: {
  custom: {
    50: '#957be9',
    500: '#5845de',
    950: '#000000',
  },
}
SCSS
$custom: #5845de;
$custom-light: #957be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5845de",
  "rgb": {
    "r": 88,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 247.451,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.22097,
    "h": 280.7
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#5845DE
secondary
#D7DFA0
accent
#ED3BD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5845DE

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

Preview Lab → · Contrast checker → · Palette generator →

#5845DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva