#5946BF#5946BF

#5946BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.181 H 284.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5946BF
RGBrgb(89, 70, 191)
HSLhsl(249, 49%, 51%)
HSVhsv(249, 63%, 75%)
CMYKcmyk(53.4%, 63.4%, 0%, 25.1%)
CIE-LABlab(38.31, 40.29, -61.10)
CIE-LCHlch(38.31, 73.19, 303.40°)
OKLaboklab(48.52% 0.0456 -0.1753)
OKLCHoklch(48.52% 0.181 284.6)
XYZxyz(15.7111, 10.2649, 50.4336)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946BF #ACBF46
analogous
#466FBF #5946BF #9546BF
triadic
#5946BF #BF5946 #46BF59
tetradic
#5946BF #BF466F #ACBF46 #46BF95
square
#5946BF #BF466F #ACBF46 #46BF95
split-complementary
#5946BF #BF9546 #6FBF46
monochromatic
#2E2467 #433394 #5946BF #8273CF #ABA1DE

Accessibility & contrast

On white

6.88
#5946BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5946BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946BF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946BF#FFFFFF#000000##FFFFFF
##5946BF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#2E637C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5946bf;
/* rgb */ color: rgb(89, 70, 191);
/* oklch */ color: oklch(48.5% 0.181 284.6);
Tailwind
colors: {
  custom: {
    50: '#917ad3',
    500: '#5946bf',
    950: '#000000',
  },
}
SCSS
$custom: #5946bf;
$custom-light: #917ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5946bf",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 249.421,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.18116,
    "h": 284.6
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#5946BF
secondary
#C3CB96
accent
#D850C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5946BF

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

Preview Lab → · Contrast checker → · Palette generator →

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