#5947CB#5947CB

#5947CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.7% C 0.195 H 282.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5947CB
RGBrgb(89, 71, 203)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 65%, 80%)
CMYKcmyk(56.2%, 65%, 0%, 20.4%)
CIE-LABlab(39.48, 43.39, -66.19)
CIE-LCHlch(39.48, 79.14, 303.25°)
OKLaboklab(49.67% 0.0434 -0.1903)
OKLCHoklch(49.67% 0.195 282.9)
XYZxyz(17.1492, 10.9411, 57.6965)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947CB #B9CB47
analogous
#4777CB #5947CB #9B47CB
triadic
#5947CB #CB5947 #47CB59
tetradic
#5947CB #CB4777 #B9CB47 #47CB9B
square
#5947CB #CB4777 #B9CB47 #47CB9B
split-complementary
#5947CB #CB9B47 #77CB47
monochromatic
#2D2176 #3F2FA6 #5947CB #8477D8 #AFA6E6

Accessibility & contrast

On white

6.59
#5947CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5947CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947CB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947CB#FFFFFF#000000##FFFFFF
##5947CB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#1F6883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5947cb;
/* rgb */ color: rgb(89, 71, 203);
/* oklch */ color: oklch(49.7% 0.195 282.9);
Tailwind
colors: {
  custom: {
    50: '#937bdc',
    500: '#5947cb',
    950: '#000000',
  },
}
SCSS
$custom: #5947cb;
$custom-light: #937bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5947cb",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 248.182,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49666,
    "c": 0.19517,
    "h": 282.9
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#5947CB
secondary
#CBD39B
accent
#DF49CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947CB

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

Preview Lab → · Contrast checker → · Palette generator →

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