#5946CB#5946CB

#5946CB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.5% C 0.196 H 283.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5946CB
RGBrgb(89, 70, 203)
HSLhsl(249, 56%, 54%)
HSVhsv(249, 66%, 80%)
CMYKcmyk(56.2%, 65.5%, 0%, 20.4%)
CIE-LABlab(39.27, 43.97, -66.54)
CIE-LCHlch(39.27, 79.75, 303.46°)
OKLaboklab(49.51% 0.0443 -0.1913)
OKLCHoklch(49.51% 0.196 283)
XYZxyz(17.0862, 10.8149, 57.6755)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946CB #B8CB46
analogous
#4675CB #5946CB #9B46CB
triadic
#5946CB #CB5946 #46CB59
tetradic
#5946CB #CB4675 #B8CB46 #46CB9B
square
#5946CB #CB4675 #B8CB46 #46CB9B
split-complementary
#5946CB #CB9B46 #75CB46
monochromatic
#2D2176 #3F2EA5 #5946CB #8476D8 #AFA6E6

Accessibility & contrast

On white

6.64
#5946CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5946CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946CB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946CB#FFFFFF#000000##FFFFFF
##5946CB1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#1F6882
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5946cb;
/* rgb */ color: rgb(89, 70, 203);
/* oklch */ color: oklch(49.5% 0.196 283.0);
Tailwind
colors: {
  custom: {
    50: '#937bdc',
    500: '#5946cb',
    950: '#000000',
  },
}
SCSS
$custom: #5946cb;
$custom-light: #937bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5946cb",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 248.571,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.19638,
    "h": 283
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#5946CB
secondary
#CBD39A
accent
#DF48CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946CB

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

Preview Lab → · Contrast checker → · Palette generator →

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