#5845DD#5845DD

#5845DD is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.220 H 280.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5845DD
RGBrgb(88, 69, 221)
HSLhsl(248, 69%, 57%)
HSVhsv(248, 69%, 87%)
CMYKcmyk(60.2%, 68.8%, 0%, 13.3%)
CIE-LABlab(40.49, 49.88, -74.89)
CIE-LCHlch(40.49, 89.98, 303.66°)
OKLaboklab(50.84% 0.0413 -0.2158)
OKLCHoklch(50.84% 0.22 280.8)
XYZxyz(19.1997, 11.5500, 69.6102)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5845DD #CADD45
analogous
#457EDD #5845DD #A445DD
triadic
#5845DD #DD5845 #45DD58
tetradic
#5845DD #DD457E #CADD45 #45DDA4
square
#5845DD #DD457E #CADD45 #45DDA4
split-complementary
#5845DD #DDA445 #7EDD45
monochromatic
#281A8E #3723C1 #5845DD #8679E6 #B5ACF0

Accessibility & contrast

On white

6.34
#5845DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5845DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5845DD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5845DD#FFFFFF#000000##FFFFFF
##5845DD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5845dd;
/* rgb */ color: rgb(88, 69, 221);
/* oklch */ color: oklch(50.8% 0.220 280.8);
Tailwind
colors: {
  custom: {
    50: '#957be9',
    500: '#5845dd',
    950: '#000000',
  },
}
SCSS
$custom: #5845dd;
$custom-light: #957be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5845dd",
  "rgb": {
    "r": 88,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 247.5,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.21977,
    "h": 280.8
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#5845DD
secondary
#D6DEA0
accent
#EC3CD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5845DD

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

Preview Lab → · Contrast checker → · Palette generator →

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