#5945DE#5945DE

#5945DE is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.221 H 281.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5945DE
RGBrgb(89, 69, 222)
HSLhsl(248, 70%, 57%)
HSVhsv(248, 69%, 87%)
CMYKcmyk(59.9%, 68.9%, 0%, 12.9%)
CIE-LABlab(40.66, 50.32, -75.19)
CIE-LCHlch(40.66, 90.47, 303.79°)
OKLaboklab(51.01% 0.0425 -0.2167)
OKLCHoklch(51.01% 0.221 281.1)
XYZxyz(19.4286, 11.6526, 70.3185)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5945DE #CADE45
analogous
#457EDE #5945DE #A645DE
triadic
#5945DE #DE5945 #45DE59
tetradic
#5945DE #DE457E #CADE45 #45DEA6
square
#5945DE #DE457E #CADE45 #45DEA6
split-complementary
#5945DE #DEA645 #7EDE45
monochromatic
#29198F #3823C3 #5945DE #8779E7 #B6ADF0

Accessibility & contrast

On white

6.30
#5945DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5945DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5945DE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5945DE#FFFFFF#000000##FFFFFF
##5945DE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.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: #5945de;
/* rgb */ color: rgb(89, 69, 222);
/* oklch */ color: oklch(51.0% 0.221 281.1);
Tailwind
colors: {
  custom: {
    50: '#967be9',
    500: '#5945de',
    950: '#000000',
  },
}
SCSS
$custom: #5945de;
$custom-light: #967be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5945de",
  "rgb": {
    "r": 89,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 247.843,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.2208,
    "h": 281.1
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#5945DE
secondary
#D6DFA0
accent
#ED3BD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5945DE

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

Preview Lab → · Contrast checker → · Palette generator →

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