#5946D0#5946D0

#5946D0 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.203 H 282.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5946D0
RGBrgb(89, 70, 208)
HSLhsl(248, 59%, 55%)
HSVhsv(248, 66%, 82%)
CMYKcmyk(57.2%, 66.3%, 0%, 18.4%)
CIE-LABlab(39.68, 45.50, -68.76)
CIE-LCHlch(39.68, 82.45, 303.49°)
OKLaboklab(49.93% 0.0437 -0.1978)
OKLCHoklch(49.93% 0.203 282.5)
XYZxyz(17.6916, 11.0571, 60.8643)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946D0 #BDD046
analogous
#4678D0 #5946D0 #9E46D0
triadic
#5946D0 #D05946 #46D059
tetradic
#5946D0 #D04678 #BDD046 #46D09E
square
#5946D0 #D04678 #BDD046 #46D09E
split-complementary
#5946D0 #D09E46 #78D046
monochromatic
#2C207C #3E2CAD #5946D0 #8577DC #B1A8E9

Accessibility & contrast

On white

6.54
#5946D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5946D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946D0
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946D0#FFFFFF#000000##FFFFFF
##5946D01.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#166985
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5946d0;
/* rgb */ color: rgb(89, 70, 208);
/* oklch */ color: oklch(49.9% 0.203 282.5);
Tailwind
colors: {
  custom: {
    50: '#937bdf',
    500: '#5946d0',
    950: '#000000',
  },
}
SCSS
$custom: #5946d0;
$custom-light: #937bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5946d0",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 248.261,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49934,
    "c": 0.2026,
    "h": 282.5
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#5946D0
secondary
#CED69C
accent
#E345CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946D0

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

Preview Lab → · Contrast checker → · Palette generator →

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