#5347A6#5347A6

#5347A6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.147 H 284.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5347A6
RGBrgb(83, 71, 166)
HSLhsl(248, 40%, 46%)
HSVhsv(248, 57%, 65%)
CMYKcmyk(50%, 57.2%, 0%, 34.9%)
CIE-LABlab(36.17, 30.75, -49.81)
CIE-LCHlch(36.17, 58.53, 301.69°)
OKLaboklab(46.24% 0.0376 -0.1423)
OKLCHoklch(46.24% 0.147 284.8)
XYZxyz(12.7014, 9.0980, 37.1558)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347A6 #9AA647
analogous
#476BA6 #5347A6 #8347A6
triadic
#5347A6 #A65347 #47A653
tetradic
#5347A6 #A6476B #9AA647 #47A683
square
#5347A6 #A6476B #9AA647 #47A683
split-complementary
#5347A6 #A68347 #6BA647
monochromatic
#282250 #3E357B #5347A6 #756BC0 #9D96D2

Accessibility & contrast

On white

7.45
#5347A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5347A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5347A6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347A6#FFFFFF#000000##FFFFFF
##5347A61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0558A9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#355C6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5347a6;
/* rgb */ color: rgb(83, 71, 166);
/* oklch */ color: oklch(46.2% 0.147 284.8);
Tailwind
colors: {
  custom: {
    50: '#8a7ac1',
    500: '#5347a6',
    950: '#000000',
  },
}
SCSS
$custom: #5347a6;
$custom-light: #8a7ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#5347a6",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 247.579,
    "s": 40.084,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46238,
    "c": 0.1472,
    "h": 284.8
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#5347A6
secondary
#B7BE8B
accent
#D058C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #5347A6

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

Preview Lab → · Contrast checker → · Palette generator →

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