#5946E4#5946E4

#5946E4 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.227 H 280.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5946E4
RGBrgb(89, 70, 228)
HSLhsl(247, 75%, 58%)
HSVhsv(247, 69%, 89%)
CMYKcmyk(61%, 69.3%, 0%, 10.6%)
CIE-LABlab(41.38, 51.59, -77.42)
CIE-LCHlch(41.38, 93.03, 303.68°)
OKLaboklab(51.68% 0.0407 -0.2232)
OKLCHoklch(51.68% 0.227 280.3)
XYZxyz(20.3091, 12.1041, 74.6499)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946E4 #D1E446
analogous
#4682E4 #5946E4 #A846E4
triadic
#5946E4 #E45946 #46E459
tetradic
#5946E4 #E44682 #D1E446 #46E4A8
square
#5946E4 #E44682 #D1E446 #46E4A8
split-complementary
#5946E4 #E4A846 #82E446
monochromatic
#261699 #331ECF #5946E4 #897BEC #B9B1F4

Accessibility & contrast

On white

6.14
#5946E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5946E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946E4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946E4#FFFFFF#000000##FFFFFF
##5946E41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5946e4;
/* rgb */ color: rgb(89, 70, 228);
/* oklch */ color: oklch(51.7% 0.227 280.3);
Tailwind
colors: {
  custom: {
    50: '#977bee',
    500: '#5946e4',
    950: '#000000',
  },
}
SCSS
$custom: #5946e4;
$custom-light: #977bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5946e4",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 247.215,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.22691,
    "h": 280.3
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#5946E4
secondary
#DBE2A4
accent
#F137DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5946E4

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

Preview Lab → · Contrast checker → · Palette generator →

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