#5946D1#5946D1

#5946D1 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.204 H 282.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5946D1
RGBrgb(89, 70, 209)
HSLhsl(248, 60%, 55%)
HSVhsv(248, 67%, 82%)
CMYKcmyk(57.4%, 66.5%, 0%, 18%)
CIE-LABlab(39.76, 45.80, -69.20)
CIE-LCHlch(39.76, 82.99, 303.50°)
OKLaboklab(50.02% 0.0436 -0.1991)
OKLCHoklch(50.02% 0.204 282.3)
XYZxyz(17.8150, 11.1065, 61.5142)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946D1 #BED146
analogous
#4679D1 #5946D1 #9E46D1
triadic
#5946D1 #D15946 #46D159
tetradic
#5946D1 #D14679 #BED146 #46D19E
square
#5946D1 #D14679 #BED146 #46D19E
split-complementary
#5946D1 #D19E46 #79D146
monochromatic
#2C1F7D #3D2BAE #5946D1 #8577DD #B1A8E9

Accessibility & contrast

On white

6.52
#5946D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5946D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946D1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946D1#FFFFFF#000000##FFFFFF
##5946D11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#136A86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5946d1;
/* rgb */ color: rgb(89, 70, 209);
/* oklch */ color: oklch(50.0% 0.204 282.3);
Tailwind
colors: {
  custom: {
    50: '#947be0',
    500: '#5946d1',
    950: '#000000',
  },
}
SCSS
$custom: #5946d1;
$custom-light: #947be0;
$custom-dark: #000000;
JSON
{
  "hex": "#5946d1",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 248.201,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.20384,
    "h": 282.3
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#5946D1
secondary
#CFD79C
accent
#E344CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946D1

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

Preview Lab → · Contrast checker → · Palette generator →

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