#5347C2#5347C2

#5347C2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.185 H 281.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5347C2
RGBrgb(83, 71, 194)
HSLhsl(246, 50%, 52%)
HSVhsv(246, 63%, 76%)
CMYKcmyk(57.2%, 63.4%, 0%, 23.9%)
CIE-LABlab(38.27, 39.58, -62.95)
CIE-LCHlch(38.27, 74.36, 302.16°)
OKLaboklab(48.44% 0.0365 -0.1809)
OKLCHoklch(48.44% 0.185 281.4)
XYZxyz(15.5551, 10.2395, 52.1852)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347C2 #B6C247
analogous
#4778C2 #5347C2 #9147C2
triadic
#5347C2 #C25347 #47C253
tetradic
#5347C2 #C24778 #B6C247 #47C291
square
#5347C2 #C24778 #B6C247 #47C291
split-complementary
#5347C2 #C29147 #78C247
monochromatic
#2A246B #3D3399 #5347C2 #7E75D1 #A9A3E0

Accessibility & contrast

On white

6.89
#5347C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5347C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5347C2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347C2#FFFFFF#000000##FFFFFF
##5347C21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#15657E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5347c2;
/* rgb */ color: rgb(83, 71, 194);
/* oklch */ color: oklch(48.4% 0.185 281.4);
Tailwind
colors: {
  custom: {
    50: '#8e7bd5',
    500: '#5347c2',
    950: '#000000',
  },
}
SCSS
$custom: #5347c2;
$custom-light: #8e7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5347c2",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 245.854,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.18459,
    "h": 281.4
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#5347C2
secondary
#C8CD97
accent
#DA4ECC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5347C2

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

Preview Lab → · Contrast checker → · Palette generator →

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