#5942DD#5942DD

#5942DD is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.5% C 0.223 H 281.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5942DD
RGBrgb(89, 66, 221)
HSLhsl(249, 70%, 56%)
HSVhsv(249, 70%, 87%)
CMYKcmyk(59.7%, 70.1%, 0%, 13.3%)
CIE-LABlab(39.98, 51.65, -75.73)
CIE-LCHlch(39.98, 91.66, 304.29°)
OKLaboklab(50.49% 0.0449 -0.2183)
OKLCHoklch(50.49% 0.223 281.6)
XYZxyz(19.1151, 11.2394, 69.5547)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5942DD #C6DD42
analogous
#4279DD #5942DD #A742DD
triadic
#5942DD #DD5942 #42DD59
tetradic
#5942DD #DD4279 #C6DD42 #42DDA7
square
#5942DD #DD4279 #C6DD42 #42DDA7
split-complementary
#5942DD #DDA742 #79DD42
monochromatic
#2A198C #3A22BF #5942DD #8776E6 #B4AAF0

Accessibility & contrast

On white

6.47
#5942DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5942DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5942DD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5942DD#FFFFFF#000000##FFFFFF
##5942DD1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0059DA
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5942dd;
/* rgb */ color: rgb(89, 66, 221);
/* oklch */ color: oklch(50.5% 0.223 281.6);
Tailwind
colors: {
  custom: {
    50: '#9679e9',
    500: '#5942dd',
    950: '#000000',
  },
}
SCSS
$custom: #5942dd;
$custom-light: #9679e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5942dd",
  "rgb": {
    "r": 89,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 248.903,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.22283,
    "h": 281.6
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#5942DD
secondary
#D4DD9D
accent
#EC3BD2
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5942DD

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

Preview Lab → · Contrast checker → · Palette generator →

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