#5945DD#5945DD

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

Color values

HEX#5945DD
RGBrgb(89, 69, 221)
HSLhsl(248, 69%, 57%)
HSVhsv(248, 69%, 87%)
CMYKcmyk(59.7%, 68.8%, 0%, 13.3%)
CIE-LABlab(40.57, 50.01, -74.76)
CIE-LCHlch(40.57, 89.95, 303.78°)
OKLaboklab(50.92% 0.0426 -0.2154)
OKLCHoklch(50.92% 0.22 281.2)
XYZxyz(19.2950, 11.5992, 69.6147)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5945DD #C9DD45
analogous
#457DDD #5945DD #A545DD
triadic
#5945DD #DD5945 #45DD59
tetradic
#5945DD #DD457D #C9DD45 #45DDA5
square
#5945DD #DD457D #C9DD45 #45DDA5
split-complementary
#5945DD #DDA545 #7DDD45
monochromatic
#291A8E #3823C1 #5945DD #8779E6 #B5ACF0

Accessibility & contrast

On white

6.32
#5945DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5945DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5945DD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5945DD#FFFFFF#000000##FFFFFF
##5945DD1.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)
#0065E2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5945dd;
/* rgb */ color: rgb(89, 69, 221);
/* oklch */ color: oklch(50.9% 0.220 281.2);
Tailwind
colors: {
  custom: {
    50: '#967be9',
    500: '#5945dd',
    950: '#000000',
  },
}
SCSS
$custom: #5945dd;
$custom-light: #967be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5945dd",
  "rgb": {
    "r": 89,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 247.895,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.2196,
    "h": 281.2
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#5945DD
secondary
#D6DEA0
accent
#EC3CD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5945DD

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

Preview Lab → · Contrast checker → · Palette generator →

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