#5347AA#5347AA

#5347AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.153 H 284.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5347AA
RGBrgb(83, 71, 170)
HSLhsl(247, 41%, 47%)
HSVhsv(247, 58%, 67%)
CMYKcmyk(51.2%, 58.2%, 0%, 33.3%)
CIE-LABlab(36.46, 32.00, -51.74)
CIE-LCHlch(36.46, 60.84, 301.74°)
OKLaboklab(46.54% 0.0376 -0.148)
OKLCHoklch(46.54% 0.153 284.3)
XYZxyz(13.0740, 9.2471, 39.1184)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347AA #9EAA47
analogous
#476CAA #5347AA #8547AA
triadic
#5347AA #AA5347 #47AA53
tetradic
#5347AA #AA476C #9EAA47 #47AA85
square
#5347AA #AA476C #9EAA47 #47AA85
split-complementary
#5347AA #AA8547 #6CAA47
monochromatic
#292354 #3E357F #5347AA #776CC2 #9F98D4

Accessibility & contrast

On white

7.37
#5347AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5347AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5347AA#FFFFFF#000000##FFFFFF
##5347AA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#325E71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5347aa;
/* rgb */ color: rgb(83, 71, 170);
/* oklch */ color: oklch(46.5% 0.153 284.3);
Tailwind
colors: {
  custom: {
    50: '#8a7ac4',
    500: '#5347aa',
    950: '#000000',
  },
}
SCSS
$custom: #5347aa;
$custom-light: #8a7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#5347aa",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 247.273,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.1527,
    "h": 284.3
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#5347AA
secondary
#BAC08D
accent
#D157C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #5347AA

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

Preview Lab → · Contrast checker → · Palette generator →

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