#5946BB#5946BB

#5946BB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.176 H 285.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5946BB
RGBrgb(89, 70, 187)
HSLhsl(250, 46%, 50%)
HSVhsv(250, 63%, 73%)
CMYKcmyk(52.4%, 62.6%, 0%, 26.7%)
CIE-LABlab(38.01, 39.07, -59.26)
CIE-LCHlch(38.01, 70.98, 303.40°)
OKLaboklab(48.2% 0.0459 -0.1699)
OKLCHoklch(48.2% 0.176 285.1)
XYZxyz(15.2769, 10.0912, 48.1469)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5946BB #A8BB46
analogous
#466DBB #5946BB #9446BB
triadic
#5946BB #BB5946 #46BB59
tetradic
#5946BB #BB466D #A8BB46 #46BB94
square
#5946BB #BB466D #A8BB46 #46BB94
split-complementary
#5946BB #BB9446 #6DBB46
monochromatic
#2E2462 #43358F #5946BB #8173CB #A9A0DC

Accessibility & contrast

On white

6.96
#5946BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5946BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5946BB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5946BB#FFFFFF#000000##FFFFFF
##5946BB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#32627A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5946bb;
/* rgb */ color: rgb(89, 70, 187);
/* oklch */ color: oklch(48.2% 0.176 285.1);
Tailwind
colors: {
  custom: {
    50: '#907ad0',
    500: '#5946bb',
    950: '#000000',
  },
}
SCSS
$custom: #5946bb;
$custom-light: #907ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5946bb",
  "rgb": {
    "r": 89,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 249.744,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.17601,
    "h": 285.1
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#5946BB
secondary
#C0C894
accent
#D652C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5946BB

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

Preview Lab → · Contrast checker → · Palette generator →

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