#5945DA#5945DA

#5945DA is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.7% C 0.216 H 281.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5945DA
RGBrgb(89, 69, 218)
HSLhsl(248, 67%, 56%)
HSVhsv(248, 68%, 85%)
CMYKcmyk(59.2%, 68.3%, 0%, 14.5%)
CIE-LABlab(40.31, 49.11, -73.47)
CIE-LCHlch(40.31, 88.37, 303.76°)
OKLaboklab(50.65% 0.0431 -0.2116)
OKLCHoklch(50.65% 0.216 281.5)
XYZxyz(18.8989, 11.4407, 67.5285)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5945DA #C6DA45
analogous
#457CDA #5945DA #A445DA
triadic
#5945DA #DA5945 #45DA59
tetradic
#5945DA #DA457C #C6DA45 #45DAA4
square
#5945DA #DA457C #C6DA45 #45DAA4
split-complementary
#5945DA #DAA445 #7CDA45
monochromatic
#2A1B89 #3A25BC #5945DA #8778E4 #B4ABEE

Accessibility & contrast

On white

6.39
#5945DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5945DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5945DA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5945DA#FFFFFF#000000##FFFFFF
##5945DA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5945da;
/* rgb */ color: rgb(89, 69, 218);
/* oklch */ color: oklch(50.7% 0.216 281.5);
Tailwind
colors: {
  custom: {
    50: '#957ae7',
    500: '#5945da',
    950: '#000000',
  },
}
SCSS
$custom: #5945da;
$custom-light: #957ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#5945da",
  "rgb": {
    "r": 89,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 248.054,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.21598,
    "h": 281.5
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#5945DA
secondary
#D4DC9F
accent
#EA3ED3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5945DA

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

Preview Lab → · Contrast checker → · Palette generator →

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