#5347C4#5347C4

#5347C4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.187 H 281.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5347C4
RGBrgb(83, 71, 196)
HSLhsl(246, 51%, 52%)
HSVhsv(246, 64%, 77%)
CMYKcmyk(57.7%, 63.8%, 0%, 23.1%)
CIE-LABlab(38.43, 40.21, -63.86)
CIE-LCHlch(38.43, 75.46, 302.20°)
OKLaboklab(48.6% 0.0363 -0.1836)
OKLCHoklch(48.6% 0.187 281.2)
XYZxyz(15.7812, 10.3299, 53.3761)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347C4 #B8C447
analogous
#477AC4 #5347C4 #9247C4
triadic
#5347C4 #C45347 #47C453
tetradic
#5347C4 #C4477A #B8C447 #47C492
square
#5347C4 #C4477A #B8C447 #47C492
split-complementary
#5347C4 #C49247 #7AC447
monochromatic
#2A236D #3C329C #5347C4 #7E75D3 #AAA4E2

Accessibility & contrast

On white

6.85
#5347C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5347C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5347C4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347C4#FFFFFF#000000##FFFFFF
##5347C41.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#10667F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5347c4;
/* rgb */ color: rgb(83, 71, 196);
/* oklch */ color: oklch(48.6% 0.187 281.2);
Tailwind
colors: {
  custom: {
    50: '#8e7bd7',
    500: '#5347c4',
    950: '#000000',
  },
}
SCSS
$custom: #5347c4;
$custom-light: #8e7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5347c4",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 245.76,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.18718,
    "h": 281.2
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#5347C4
secondary
#C9CF98
accent
#DB4DCD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5347C4

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

Preview Lab → · Contrast checker → · Palette generator →

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