#5946CA#5946CA

#5946CA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.195 H 283.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5946CA
RGBrgb(89, 70, 202)
HSLhsl(249, 55%, 53%)
HSVhsv(249, 65%, 79%)
CMYKcmyk(55.9%, 65.3%, 0%, 20.8%)
CIE-LABlab(39.19, 43.66, -66.09)
CIE-LCHlch(39.19, 79.21, 303.45°)
OKLaboklab(49.43% 0.0445 -0.19)
OKLCHoklch(49.43% 0.195 283.2)
XYZxyz(16.9674, 10.7674, 57.0499)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946CA #B7CA46
analogous
#4675CA #5946CA #9B46CA
triadic
#5946CA #CA5946 #46CA59
tetradic
#5946CA #CA4675 #B7CA46 #46CA9B
square
#5946CA #CA4675 #B7CA46 #46CA9B
split-complementary
#5946CA #CA9B46 #75CA46
monochromatic
#2D2174 #402FA4 #5946CA #8476D8 #AEA5E5

Accessibility & contrast

On white

6.66
#5946CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5946CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946CA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946CA#FFFFFF#000000##FFFFFF
##5946CA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#216782
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5946ca;
/* rgb */ color: rgb(89, 70, 202);
/* oklch */ color: oklch(49.4% 0.195 283.2);
Tailwind
colors: {
  custom: {
    50: '#937bdb',
    500: '#5946ca',
    950: '#000000',
  },
}
SCSS
$custom: #5946ca;
$custom-light: #937bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5946ca",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 248.636,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49427,
    "c": 0.19512,
    "h": 283.2
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#5946CA
secondary
#CAD29A
accent
#DF49C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946CA

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

Preview Lab → · Contrast checker → · Palette generator →

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