#5946D8#5946D8

#5946D8 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.212 H 281.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5946D8
RGBrgb(89, 70, 216)
HSLhsl(248, 65%, 56%)
HSVhsv(248, 68%, 85%)
CMYKcmyk(58.8%, 67.6%, 0%, 15.3%)
CIE-LABlab(40.35, 47.94, -72.27)
CIE-LCHlch(40.35, 86.72, 303.56°)
OKLaboklab(50.62% 0.0426 -0.2081)
OKLCHoklch(50.62% 0.212 281.6)
XYZxyz(18.7008, 11.4608, 66.1791)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946D8 #C5D846
analogous
#467CD8 #5946D8 #A246D8
triadic
#5946D8 #D85946 #46D859
tetradic
#5946D8 #D8467C #C5D846 #46D8A2
square
#5946D8 #D8467C #C5D846 #46D8A2
split-complementary
#5946D8 #D8A246 #7CD846
monochromatic
#2A1C87 #3A27BA #5946D8 #8679E3 #B4ABED

Accessibility & contrast

On white

6.38
#5946D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5946D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946D8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946D8#FFFFFF#000000##FFFFFF
##5946D81.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5946d8;
/* rgb */ color: rgb(89, 70, 216);
/* oklch */ color: oklch(50.6% 0.212 281.6);
Tailwind
colors: {
  custom: {
    50: '#957be5',
    500: '#5946d8',
    950: '#000000',
  },
}
SCSS
$custom: #5946d8;
$custom-light: #957be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5946d8",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 247.808,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.21244,
    "h": 281.6
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#5946D8
secondary
#D3DB9F
accent
#E840D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5946D8

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

Preview Lab → · Contrast checker → · Palette generator →

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