#5942DA#5942DA

#5942DA is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.2% C 0.219 H 282.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5942DA
RGBrgb(89, 66, 218)
HSLhsl(249, 67%, 56%)
HSVhsv(249, 70%, 85%)
CMYKcmyk(59.2%, 69.7%, 0%, 14.5%)
CIE-LABlab(39.72, 50.75, -74.44)
CIE-LCHlch(39.72, 90.10, 304.28°)
OKLaboklab(50.22% 0.0454 -0.2145)
OKLCHoklch(50.22% 0.219 282)
XYZxyz(18.7190, 11.0809, 67.4685)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5942DA #C3DA42
analogous
#4277DA #5942DA #A542DA
triadic
#5942DA #DA5942 #42DA59
tetradic
#5942DA #DA4277 #C3DA42 #42DAA5
square
#5942DA #DA4277 #C3DA42 #42DAA5
split-complementary
#5942DA #DAA542 #77DA42
monochromatic
#2B1A87 #3B24BA #5942DA #8675E4 #B3A8EE

Accessibility & contrast

On white

6.53
#5942DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5942DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5942DA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5942DA#FFFFFF#000000##FFFFFF
##5942DA1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#0058D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5942da;
/* rgb */ color: rgb(89, 66, 218);
/* oklch */ color: oklch(50.2% 0.219 282.0);
Tailwind
colors: {
  custom: {
    50: '#9579e7',
    500: '#5942da',
    950: '#000000',
  },
}
SCSS
$custom: #5942da;
$custom-light: #9579e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5942da",
  "rgb": {
    "r": 89,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 249.079,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.21926,
    "h": 282
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#5942DA
secondary
#D2DB9C
accent
#EA3ED0
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5942DA

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

Preview Lab → · Contrast checker → · Palette generator →

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