#5946CD#5946CD

#5946CD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.7% C 0.199 H 282.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5946CD
RGBrgb(89, 70, 205)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(56.6%, 65.9%, 0%, 19.6%)
CIE-LABlab(39.43, 44.58, -67.43)
CIE-LCHlch(39.43, 80.83, 303.47°)
OKLaboklab(49.68% 0.0441 -0.1939)
OKLCHoklch(49.68% 0.199 282.8)
XYZxyz(17.3260, 10.9109, 58.9388)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946CD #BACD46
analogous
#4677CD #5946CD #9C46CD
triadic
#5946CD #CD5946 #46CD59
tetradic
#5946CD #CD4677 #BACD46 #46CD9C
square
#5946CD #CD4677 #BACD46 #46CD9C
split-complementary
#5946CD #CD9C46 #77CD46
monochromatic
#2D2078 #3F2DA8 #5946CD #8476DA #AFA6E7

Accessibility & contrast

On white

6.60
#5946CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5946CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946CD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946CD#FFFFFF#000000##FFFFFF
##5946CD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#1C6883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5946cd;
/* rgb */ color: rgb(89, 70, 205);
/* oklch */ color: oklch(49.7% 0.199 282.8);
Tailwind
colors: {
  custom: {
    50: '#937bdd',
    500: '#5946cd',
    950: '#000000',
  },
}
SCSS
$custom: #5946cd;
$custom-light: #937bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5946cd",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 248.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.19888,
    "h": 282.8
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#5946CD
secondary
#CCD49B
accent
#E147CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946CD

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

Preview Lab → · Contrast checker → · Palette generator →

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