#5347AD#5347AD

#5347AD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.157 H 283.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5347AD
RGBrgb(83, 71, 173)
HSLhsl(247, 42%, 48%)
HSVhsv(247, 59%, 68%)
CMYKcmyk(52%, 59%, 0%, 32.2%)
CIE-LABlab(36.67, 32.94, -53.17)
CIE-LCHlch(36.67, 62.55, 301.78°)
OKLaboklab(46.77% 0.0376 -0.1522)
OKLCHoklch(46.77% 0.157 283.9)
XYZxyz(13.3611, 9.3619, 40.6301)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347AD #A1AD47
analogous
#476EAD #5347AD #8647AD
triadic
#5347AD #AD5347 #47AD53
tetradic
#5347AD #AD476E #A1AD47 #47AD86
square
#5347AD #AD476E #A1AD47 #47AD86
split-complementary
#5347AD #AD8647 #6EAD47
monochromatic
#292356 #3E3582 #5347AD #786EC3 #A099D5

Accessibility & contrast

On white

7.31
#5347AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5347AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5347AD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347AD#FFFFFF#000000##FFFFFF
##5347AD1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#305F73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5347ad;
/* rgb */ color: rgb(83, 71, 173);
/* oklch */ color: oklch(46.8% 0.157 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b7ac6',
    500: '#5347ad',
    950: '#000000',
  },
}
SCSS
$custom: #5347ad;
$custom-light: #8b7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#5347ad",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 247.059,
    "s": 41.803,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46766,
    "c": 0.15679,
    "h": 283.9
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#5347AD
secondary
#BBC18E
accent
#D256C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #5347AD

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

Preview Lab → · Contrast checker → · Palette generator →

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