#5946CE#5946CE

#5946CE is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.200 H 282.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5946CE
RGBrgb(89, 70, 206)
HSLhsl(248, 58%, 54%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(56.8%, 66%, 0%, 19.2%)
CIE-LABlab(39.51, 44.89, -67.87)
CIE-LCHlch(39.51, 81.37, 303.48°)
OKLaboklab(49.76% 0.044 -0.1952)
OKLCHoklch(49.76% 0.2 282.7)
XYZxyz(17.4471, 10.9593, 59.5765)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946CE #BBCE46
analogous
#4677CE #5946CE #9D46CE
triadic
#5946CE #CE5946 #46CE59
tetradic
#5946CE #CE4677 #BBCE46 #46CE9D
square
#5946CE #CE4677 #BBCE46 #46CE9D
split-complementary
#5946CE #CE9D46 #77CE46
monochromatic
#2D2079 #3E2DAA #5946CE #8476DB #B0A7E8

Accessibility & contrast

On white

6.58
#5946CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5946CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946CE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946CE#FFFFFF#000000##FFFFFF
##5946CE1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#1A6984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5946ce;
/* rgb */ color: rgb(89, 70, 206);
/* oklch */ color: oklch(49.8% 0.200 282.7);
Tailwind
colors: {
  custom: {
    50: '#937bde',
    500: '#5946ce',
    950: '#000000',
  },
}
SCSS
$custom: #5946ce;
$custom-light: #937bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5946ce",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 248.382,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49764,
    "c": 0.20012,
    "h": 282.7
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#5946CE
secondary
#CDD59B
accent
#E146CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5946CE

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

Preview Lab → · Contrast checker → · Palette generator →

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