#5946E5#5946E5

#5946E5 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.8% C 0.228 H 280.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5946E5
RGBrgb(89, 70, 229)
HSLhsl(247, 75%, 59%)
HSVhsv(247, 69%, 90%)
CMYKcmyk(61.1%, 69.4%, 0%, 10.2%)
CIE-LABlab(41.47, 51.89, -77.85)
CIE-LCHlch(41.47, 93.55, 303.69°)
OKLaboklab(51.77% 0.0406 -0.2245)
OKLCHoklch(51.77% 0.228 280.2)
XYZxyz(20.4484, 12.1598, 75.3831)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946E5 #D2E546
analogous
#4682E5 #5946E5 #A846E5
triadic
#5946E5 #E55946 #46E559
tetradic
#5946E5 #E54682 #D2E546 #46E5A8
square
#5946E5 #E54682 #D2E546 #46E5A8
split-complementary
#5946E5 #E5A846 #82E546
monochromatic
#26169B #331DD0 #5946E5 #897CED #B9B1F4

Accessibility & contrast

On white

6.12
#5946E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5946E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946E5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946E5#FFFFFF#000000##FFFFFF
##5946E51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#005CE2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5946e5;
/* rgb */ color: rgb(89, 70, 229);
/* oklch */ color: oklch(51.8% 0.228 280.2);
Tailwind
colors: {
  custom: {
    50: '#977bee',
    500: '#5946e5',
    950: '#000000',
  },
}
SCSS
$custom: #5946e5;
$custom-light: #977bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5946e5",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 247.17,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.2281,
    "h": 280.2
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#5946E5
secondary
#DBE3A4
accent
#F236DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5946E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5946E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva