#5946D3#5946D3

#5946D3 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.206 H 282.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5946D3
RGBrgb(89, 70, 211)
HSLhsl(248, 62%, 55%)
HSVhsv(248, 67%, 83%)
CMYKcmyk(57.8%, 66.8%, 0%, 17.3%)
CIE-LABlab(39.93, 46.41, -70.08)
CIE-LCHlch(39.93, 84.06, 303.52°)
OKLaboklab(50.19% 0.0433 -0.2017)
OKLCHoklch(50.19% 0.206 282.1)
XYZxyz(18.0642, 11.2061, 62.8265)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946D3 #C0D346
analogous
#467AD3 #5946D3 #9F46D3
triadic
#5946D3 #D35946 #46D359
tetradic
#5946D3 #D3467A #C0D346 #46D39F
square
#5946D3 #D3467A #C0D346 #46D39F
split-complementary
#5946D3 #D39F46 #7AD346
monochromatic
#2C1E80 #3C2AB2 #5946D3 #8577DF #B2A9EB

Accessibility & contrast

On white

6.48
#5946D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5946D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946D3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946D3#FFFFFF#000000##FFFFFF
##5946D31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#0E6A87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5946d3;
/* rgb */ color: rgb(89, 70, 211);
/* oklch */ color: oklch(50.2% 0.206 282.1);
Tailwind
colors: {
  custom: {
    50: '#947be2',
    500: '#5946d3',
    950: '#000000',
  },
}
SCSS
$custom: #5946d3;
$custom-light: #947be2;
$custom-dark: #000000;
JSON
{
  "hex": "#5946d3",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 248.085,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.20631,
    "h": 282.1
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#5946D3
secondary
#D0D89D
accent
#E543CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5946D3

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

Preview Lab → · Contrast checker → · Palette generator →

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