#5946FF#5946FF

#5946FF is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 54.2% C 0.258 H 278.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5946FF
RGBrgb(89, 70, 255)
HSLhsl(246, 100%, 64%)
HSVhsv(246, 73%, 100%)
CMYKcmyk(65.1%, 72.5%, 0%, 0%)
CIE-LABlab(43.83, 59.68, -88.59)
CIE-LCHlch(43.83, 106.82, 303.97°)
OKLaboklab(54.17% 0.0357 -0.2559)
OKLCHoklch(54.17% 0.258 278)
XYZxyz(24.3541, 13.7221, 95.9536)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946FF #ECFF46
analogous
#468FFF #5946FF #B546FF
triadic
#5946FF #FF5946 #46FF59
tetradic
#5946FF #FF468F #ECFF46 #46FFB5
square
#5946FF #FF468F #ECFF46 #46FFB5
split-complementary
#5946FF #FFB546 #8FFF46
monochromatic
#1500CB #2209FF #5946FF #9083FF #C7C0FF

Accessibility & contrast

On white

5.61
#5946FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5946FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946FF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946FF#FFFFFF#000000##FFFFFF
##5946FF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0060FC
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5946ff;
/* rgb */ color: rgb(89, 70, 255);
/* oklch */ color: oklch(54.2% 0.258 278.0);
Tailwind
colors: {
  custom: {
    50: '#9c7cff',
    500: '#5946ff',
    950: '#000000',
  },
}
SCSS
$custom: #5946ff;
$custom-light: #9c7cff;
$custom-dark: #000000;
JSON
{
  "hex": "#5946ff",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 246.162,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.25835,
    "h": 278
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#5946FF
secondary
#EAF1B0
accent
#E600CE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5946FF

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

Preview Lab → · Contrast checker → · Palette generator →

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