#5946DB#5946DB

#5946DB is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.216 H 281.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5946DB
RGBrgb(89, 70, 219)
HSLhsl(248, 67%, 57%)
HSVhsv(248, 68%, 86%)
CMYKcmyk(59.4%, 68%, 0%, 14.1%)
CIE-LABlab(40.60, 48.85, -73.57)
CIE-LCHlch(40.60, 88.31, 303.59°)
OKLaboklab(50.89% 0.0422 -0.2119)
OKLCHoklch(50.89% 0.216 281.3)
XYZxyz(19.0922, 11.6173, 68.2404)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946DB #C8DB46
analogous
#467EDB #5946DB #A446DB
triadic
#5946DB #DB5946 #46DB59
tetradic
#5946DB #DB467E #C8DB46 #46DBA4
square
#5946DB #DB467E #C8DB46 #46DBA4
split-complementary
#5946DB #DBA446 #7EDB46
monochromatic
#291B8B #3925BF #5946DB #8779E5 #B5ACEF

Accessibility & contrast

On white

6.32
#5946DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5946DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946DB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946DB#FFFFFF#000000##FFFFFF
##5946DB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5946db;
/* rgb */ color: rgb(89, 70, 219);
/* oklch */ color: oklch(50.9% 0.216 281.3);
Tailwind
colors: {
  custom: {
    50: '#957be7',
    500: '#5946db',
    950: '#000000',
  },
}
SCSS
$custom: #5946db;
$custom-light: #957be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5946db",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 247.651,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.21608,
    "h": 281.3
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#5946DB
secondary
#D5DDA0
accent
#EA3DD4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5946DB

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

Preview Lab → · Contrast checker → · Palette generator →

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