#5A47CF#5A47CF

#5A47CF is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.200 H 282.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5A47CF
RGBrgb(90, 71, 207)
HSLhsl(248, 59%, 55%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(56.5%, 65.7%, 0%, 18.8%)
CIE-LABlab(39.89, 44.78, -67.83)
CIE-LCHlch(39.89, 81.28, 303.43°)
OKLaboklab(50.08% 0.0443 -0.1951)
OKLCHoklch(50.08% 0.2 282.8)
XYZxyz(17.7287, 11.1840, 60.2439)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A47CF #BCCF47
analogous
#4778CF #5A47CF #9E47CF
triadic
#5A47CF #CF5A47 #47CF5A
tetradic
#5A47CF #CF4778 #BCCF47 #47CF9E
square
#5A47CF #CF4778 #BCCF47 #47CF9E
split-complementary
#5A47CF #CF9E47 #78CF47
monochromatic
#2D207B #3F2DAC #5A47CF #8678DC #B1A8E8

Accessibility & contrast

On white

6.49
#5A47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5A47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A47CF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A47CF#FFFFFF#000000##FFFFFF
##5A47CF1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#1D6A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a47cf;
/* rgb */ color: rgb(90, 71, 207);
/* oklch */ color: oklch(50.1% 0.200 282.8);
Tailwind
colors: {
  custom: {
    50: '#947cdf',
    500: '#5a47cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a47cf;
$custom-light: #947cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a47cf",
  "rgb": {
    "r": 90,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 248.382,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.20004,
    "h": 282.8
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#5A47CF
secondary
#CED69C
accent
#E246CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A47CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5A47CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva