#5946D2#5946D2

#5946D2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.205 H 282.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5946D2
RGBrgb(89, 70, 210)
HSLhsl(248, 61%, 55%)
HSVhsv(248, 67%, 82%)
CMYKcmyk(57.6%, 66.7%, 0%, 17.6%)
CIE-LABlab(39.84, 46.11, -69.64)
CIE-LCHlch(39.84, 83.52, 303.51°)
OKLaboklab(50.11% 0.0435 -0.2004)
OKLCHoklch(50.11% 0.205 282.2)
XYZxyz(17.9392, 11.1561, 62.1683)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946D2 #BFD246
analogous
#4679D2 #5946D2 #9F46D2
triadic
#5946D2 #D25946 #46D259
tetradic
#5946D2 #D24679 #BFD246 #46D29F
square
#5946D2 #D24679 #BFD246 #46D29F
split-complementary
#5946D2 #D29F46 #79D246
monochromatic
#2C1F7F #3D2BB0 #5946D2 #8577DE #B1A8EA

Accessibility & contrast

On white

6.50
#5946D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5946D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946D2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946D2#FFFFFF#000000##FFFFFF
##5946D21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#116A86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5946d2;
/* rgb */ color: rgb(89, 70, 210);
/* oklch */ color: oklch(50.1% 0.205 282.2);
Tailwind
colors: {
  custom: {
    50: '#947be1',
    500: '#5946d2',
    950: '#000000',
  },
}
SCSS
$custom: #5946d2;
$custom-light: #947be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5946d2",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 248.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.20508,
    "h": 282.2
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#5946D2
secondary
#CFD79C
accent
#E444CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946D2

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

Preview Lab → · Contrast checker → · Palette generator →

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