#5945C8#5945C8

#5945C8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.1% C 0.194 H 283.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5945C8
RGBrgb(89, 69, 200)
HSLhsl(249, 54%, 53%)
HSVhsv(249, 66%, 78%)
CMYKcmyk(55.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(38.81, 43.63, -65.54)
CIE-LCHlch(38.81, 78.73, 303.65°)
OKLaboklab(49.11% 0.0456 -0.1884)
OKLCHoklch(49.11% 0.194 283.6)
XYZxyz(16.6701, 10.5492, 55.7902)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5945C8 #B4C845
analogous
#4573C8 #5945C8 #9A45C8
triadic
#5945C8 #C85945 #45C859
tetradic
#5945C8 #C84573 #B4C845 #45C89A
square
#5945C8 #C84573 #B4C845 #45C89A
split-complementary
#5945C8 #C89A45 #73C845
monochromatic
#2E2171 #412FA0 #5945C8 #8374D6 #ADA3E4

Accessibility & contrast

On white

6.75
#5945C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5945C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5945C8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5945C8#FFFFFF#000000##FFFFFF
##5945C81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#246680
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5945c8;
/* rgb */ color: rgb(89, 69, 200);
/* oklch */ color: oklch(49.1% 0.194 283.6);
Tailwind
colors: {
  custom: {
    50: '#927ada',
    500: '#5945c8',
    950: '#000000',
  },
}
SCSS
$custom: #5945c8;
$custom-light: #927ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5945c8",
  "rgb": {
    "r": 89,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 249.16,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.19382,
    "h": 283.6
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#5945C8
secondary
#C8D198
accent
#DE4AC7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5945C8

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

Preview Lab → · Contrast checker → · Palette generator →

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