#5347C5#5347C5

#5347C5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.188 H 281.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5347C5
RGBrgb(83, 71, 197)
HSLhsl(246, 52%, 53%)
HSVhsv(246, 64%, 77%)
CMYKcmyk(57.9%, 64%, 0%, 22.7%)
CIE-LABlab(38.51, 40.52, -64.31)
CIE-LCHlch(38.51, 76.01, 302.22°)
OKLaboklab(48.69% 0.0362 -0.1849)
OKLCHoklch(48.69% 0.188 281.1)
XYZxyz(15.8954, 10.3756, 53.9776)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347C5 #B9C547
analogous
#477AC5 #5347C5 #9247C5
triadic
#5347C5 #C55347 #47C553
tetradic
#5347C5 #C5477A #B9C547 #47C592
square
#5347C5 #C5477A #B9C547 #47C592
split-complementary
#5347C5 #C59247 #7AC547
monochromatic
#2A236F #3C329D #5347C5 #7E76D4 #AAA4E2

Accessibility & contrast

On white

6.83
#5347C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5347C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5347C5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347C5#FFFFFF#000000##FFFFFF
##5347C51.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#0D677F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5347c5;
/* rgb */ color: rgb(83, 71, 197);
/* oklch */ color: oklch(48.7% 0.188 281.1);
Tailwind
colors: {
  custom: {
    50: '#8e7bd8',
    500: '#5347c5',
    950: '#000000',
  },
}
SCSS
$custom: #5347c5;
$custom-light: #8e7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5347c5",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 245.714,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.18846,
    "h": 281.1
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#5347C5
secondary
#CACF99
accent
#DC4CCE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #5347C5

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

Preview Lab → · Contrast checker → · Palette generator →

#5347C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva