#5946E1#5946E1

#5946E1 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.223 H 280.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5946E1
RGBrgb(89, 70, 225)
HSLhsl(247, 72%, 58%)
HSVhsv(247, 69%, 88%)
CMYKcmyk(60.4%, 68.9%, 0%, 11.8%)
CIE-LABlab(41.12, 50.68, -76.14)
CIE-LCHlch(41.12, 91.47, 303.65°)
OKLaboklab(51.42% 0.0412 -0.2195)
OKLCHoklch(51.42% 0.223 280.6)
XYZxyz(19.8963, 11.9390, 72.4756)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946E1 #CEE146
analogous
#4680E1 #5946E1 #A746E1
triadic
#5946E1 #E15946 #46E159
tetradic
#5946E1 #E14680 #CEE146 #46E1A7
square
#5946E1 #E14680 #CEE146 #46E1A7
split-complementary
#5946E1 #E1A746 #80E146
monochromatic
#271895 #3521C9 #5946E1 #887BEA #B8AFF2

Accessibility & contrast

On white

6.20
#5946E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5946E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946E1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946E1#FFFFFF#000000##FFFFFF
##5946E11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5946e1;
/* rgb */ color: rgb(89, 70, 225);
/* oklch */ color: oklch(51.4% 0.223 280.6);
Tailwind
colors: {
  custom: {
    50: '#967bec',
    500: '#5946e1',
    950: '#000000',
  },
}
SCSS
$custom: #5946e1;
$custom-light: #967bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5946e1",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 247.355,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.22332,
    "h": 280.6
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#5946E1
secondary
#D9E0A2
accent
#EF39D9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5946E1

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

Preview Lab → · Contrast checker → · Palette generator →

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