#5947BB#5947BB

#5947BB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.175 H 284.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5947BB
RGBrgb(89, 71, 187)
HSLhsl(249, 46%, 51%)
HSVhsv(249, 62%, 73%)
CMYKcmyk(52.4%, 62%, 0%, 26.7%)
CIE-LABlab(38.23, 38.48, -58.89)
CIE-LCHlch(38.23, 70.35, 303.16°)
OKLaboklab(48.37% 0.0449 -0.1688)
OKLCHoklch(48.37% 0.175 284.9)
XYZxyz(15.3400, 10.2174, 48.1679)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947BB #A9BB47
analogous
#476FBB #5947BB #9347BB
triadic
#5947BB #BB5947 #47BB59
tetradic
#5947BB #BB476F #A9BB47 #47BB93
square
#5947BB #BB476F #A9BB47 #47BB93
split-complementary
#5947BB #BB9347 #6FBB47
monochromatic
#2E2563 #433590 #5947BB #8174CC #AAA0DC

Accessibility & contrast

On white

6.90
#5947BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5947BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947BB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947BB#FFFFFF#000000##FFFFFF
##5947BB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#32637A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5947bb;
/* rgb */ color: rgb(89, 71, 187);
/* oklch */ color: oklch(48.4% 0.175 284.9);
Tailwind
colors: {
  custom: {
    50: '#907bd0',
    500: '#5947bb',
    950: '#000000',
  },
}
SCSS
$custom: #5947bb;
$custom-light: #907bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5947bb",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 249.31,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.17471,
    "h": 284.9
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#5947BB
secondary
#C1C995
accent
#D652C1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5947BB

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

Preview Lab → · Contrast checker → · Palette generator →

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