#5347AE#5347AE

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

Color values

HEX#5347AE
RGBrgb(83, 71, 174)
HSLhsl(247, 42%, 48%)
HSVhsv(247, 59%, 68%)
CMYKcmyk(52.3%, 59.2%, 0%, 31.8%)
CIE-LABlab(36.74, 33.26, -53.65)
CIE-LCHlch(36.74, 63.12, 301.80°)
OKLaboklab(46.84% 0.0376 -0.1536)
OKLCHoklch(46.84% 0.158 283.7)
XYZxyz(13.4582, 9.4007, 41.1416)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347AE #A2AE47
analogous
#476EAE #5347AE #8647AE
triadic
#5347AE #AE5347 #47AE53
tetradic
#5347AE #AE476E #A2AE47 #47AE86
square
#5347AE #AE476E #A2AE47 #47AE86
split-complementary
#5347AE #AE8647 #6EAE47
monochromatic
#2A2457 #3E3583 #5347AE #786EC4 #A19AD6

Accessibility & contrast

On white

7.29
#5347AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5347AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5347AE#FFFFFF#000000##FFFFFF
##5347AE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#2F5F73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5347ae;
/* rgb */ color: rgb(83, 71, 174);
/* oklch */ color: oklch(46.8% 0.158 283.7);
Tailwind
colors: {
  custom: {
    50: '#8b7bc7',
    500: '#5347ae',
    950: '#000000',
  },
}
SCSS
$custom: #5347ae;
$custom-light: #8b7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5347ae",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 246.99,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.15815,
    "h": 283.7
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5347AE

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

Preview Lab → · Contrast checker → · Palette generator →

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