#5845E0#5845E0

#5845E0 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.223 H 280.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5845E0
RGBrgb(88, 69, 224)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 88%)
CMYKcmyk(60.7%, 69.2%, 0%, 12.2%)
CIE-LABlab(40.75, 50.79, -76.18)
CIE-LCHlch(40.75, 91.55, 303.69°)
OKLaboklab(51.11% 0.0408 -0.2196)
OKLCHoklch(51.11% 0.223 280.5)
XYZxyz(19.6029, 11.7113, 71.7341)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5845E0 #CDE045
analogous
#457FE0 #5845E0 #A645E0
triadic
#5845E0 #E05845 #45E058
tetradic
#5845E0 #E0457F #CDE045 #45E0A6
square
#5845E0 #E0457F #CDE045 #45E0A6
split-complementary
#5845E0 #E0A645 #7FE045
monochromatic
#271892 #3521C7 #5845E0 #8779E9 #B6AEF1

Accessibility & contrast

On white

6.28
#5845E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5845E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5845E0
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5845E0#FFFFFF#000000##FFFFFF
##5845E01.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005ADD
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5845e0;
/* rgb */ color: rgb(88, 69, 224);
/* oklch */ color: oklch(51.1% 0.223 280.5);
Tailwind
colors: {
  custom: {
    50: '#967beb',
    500: '#5845e0',
    950: '#000000',
  },
}
SCSS
$custom: #5845e0;
$custom-light: #967beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5845e0",
  "rgb": {
    "r": 88,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 247.355,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.22336,
    "h": 280.5
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#5845E0
secondary
#D8E0A1
accent
#EE3AD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5845E0

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

Preview Lab → · Contrast checker → · Palette generator →

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