#5946CF#5946CF

#5946CF is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.201 H 282.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5946CF
RGBrgb(89, 70, 207)
HSLhsl(248, 59%, 54%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(57%, 66.2%, 0%, 18.8%)
CIE-LABlab(39.59, 45.19, -68.32)
CIE-LCHlch(39.59, 81.91, 303.49°)
OKLaboklab(49.85% 0.0438 -0.1965)
OKLCHoklch(49.85% 0.201 282.6)
XYZxyz(17.5690, 11.0080, 60.2184)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946CF #BCCF46
analogous
#4678CF #5946CF #9E46CF
triadic
#5946CF #CF5946 #46CF59
tetradic
#5946CF #CF4678 #BCCF46 #46CF9E
square
#5946CF #CF4678 #BCCF46 #46CF9E
split-complementary
#5946CF #CF9E46 #78CF46
monochromatic
#2C207B #3E2CAB #5946CF #8577DC #B0A7E8

Accessibility & contrast

On white

6.56
#5946CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5946CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946CF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946CF#FFFFFF#000000##FFFFFF
##5946CF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#186984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5946cf;
/* rgb */ color: rgb(89, 70, 207);
/* oklch */ color: oklch(49.8% 0.201 282.6);
Tailwind
colors: {
  custom: {
    50: '#937bdf',
    500: '#5946cf',
    950: '#000000',
  },
}
SCSS
$custom: #5946cf;
$custom-light: #937bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5946cf",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 248.321,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49849,
    "c": 0.20136,
    "h": 282.6
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#5946CF
secondary
#CDD59B
accent
#E246CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946CF

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

Preview Lab → · Contrast checker → · Palette generator →

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