#5942CE#5942CE

#5942CE is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.205 H 283.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5942CE
RGBrgb(89, 66, 206)
HSLhsl(250, 59%, 53%)
HSVhsv(250, 68%, 81%)
CMYKcmyk(56.8%, 68%, 0%, 19.2%)
CIE-LABlab(38.68, 47.14, -69.23)
CIE-LCHlch(38.68, 83.75, 304.25°)
OKLaboklab(49.17% 0.0474 -0.1992)
OKLCHoklch(49.17% 0.205 283.4)
XYZxyz(17.2052, 10.4754, 59.4959)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5942CE #B7CE42
analogous
#4271CE #5942CE #9F42CE
triadic
#5942CE #CE5942 #42CE59
tetradic
#5942CE #CE4271 #B7CE42 #42CE9F
square
#5942CE #CE4271 #B7CE42 #42CE9F
split-complementary
#5942CE #CE9F42 #71CE42
monochromatic
#2D1F77 #402BA7 #5942CE #8473DB #AEA3E7

Accessibility & contrast

On white

6.78
#5942CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5942CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5942CE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5942CE#FFFFFF#000000##FFFFFF
##5942CE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#1B6683
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5942ce;
/* rgb */ color: rgb(89, 66, 206);
/* oklch */ color: oklch(49.2% 0.205 283.4);
Tailwind
colors: {
  custom: {
    50: '#9378de',
    500: '#5942ce',
    950: '#000000',
  },
}
SCSS
$custom: #5942ce;
$custom-light: #9378de;
$custom-dark: #000000;
JSON
{
  "hex": "#5942ce",
  "rgb": {
    "r": 89,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 249.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.20477,
    "h": 283.4
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#5942CE
secondary
#CAD498
accent
#E246C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5942CE

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

Preview Lab → · Contrast checker → · Palette generator →

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