#5347C6#5347C6

#5347C6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.8% C 0.190 H 281.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5347C6
RGBrgb(83, 71, 198)
HSLhsl(246, 53%, 53%)
HSVhsv(246, 64%, 78%)
CMYKcmyk(58.1%, 64.1%, 0%, 22.4%)
CIE-LABlab(38.59, 40.84, -64.76)
CIE-LCHlch(38.59, 76.56, 302.24°)
OKLaboklab(48.77% 0.0361 -0.1863)
OKLCHoklch(48.77% 0.19 281)
XYZxyz(16.0104, 10.4216, 54.5830)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347C6 #BAC647
analogous
#477BC6 #5347C6 #9247C6
triadic
#5347C6 #C65347 #47C653
tetradic
#5347C6 #C6477B #BAC647 #47C692
square
#5347C6 #C6477B #BAC647 #47C692
split-complementary
#5347C6 #C69247 #7BC647
monochromatic
#2A2370 #3B319F #5347C6 #7F76D4 #AAA4E3

Accessibility & contrast

On white

6.81
#5347C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5347C6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347C6#FFFFFF#000000##FFFFFF
##5347C61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#096780
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5347c6;
/* rgb */ color: rgb(83, 71, 198);
/* oklch */ color: oklch(48.8% 0.190 281.0);
Tailwind
colors: {
  custom: {
    50: '#8f7bd8',
    500: '#5347c6',
    950: '#000000',
  },
}
SCSS
$custom: #5347c6;
$custom-light: #8f7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5347c6",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 245.669,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48771,
    "c": 0.18974,
    "h": 281
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5347C6

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

Preview Lab → · Contrast checker → · Palette generator →

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