#5347A7#5347A7

#5347A7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.149 H 284.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5347A7
RGBrgb(83, 71, 167)
HSLhsl(248, 40%, 47%)
HSVhsv(248, 57%, 65%)
CMYKcmyk(50.3%, 57.5%, 0%, 34.5%)
CIE-LABlab(36.24, 31.06, -50.29)
CIE-LCHlch(36.24, 59.11, 301.70°)
OKLaboklab(46.31% 0.0377 -0.1437)
OKLCHoklch(46.31% 0.149 284.7)
XYZxyz(12.7935, 9.1349, 37.6408)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347A7 #9BA747
analogous
#476BA7 #5347A7 #8347A7
triadic
#5347A7 #A75347 #47A753
tetradic
#5347A7 #A7476B #9BA747 #47A783
square
#5347A7 #A7476B #9BA747 #47A783
split-complementary
#5347A7 #A78347 #6BA747
monochromatic
#282251 #3E357C #5347A7 #766BC0 #9E96D2

Accessibility & contrast

On white

7.43
#5347A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5347A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5347A7#FFFFFF#000000##FFFFFF
##5347A71.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0158AA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#345D70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5347a7;
/* rgb */ color: rgb(83, 71, 167);
/* oklch */ color: oklch(46.3% 0.149 284.7);
Tailwind
colors: {
  custom: {
    50: '#8a7ac2',
    500: '#5347a7',
    950: '#000000',
  },
}
SCSS
$custom: #5347a7;
$custom-light: #8a7ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#5347a7",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 247.5,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.14859,
    "h": 284.7
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#5347A7
secondary
#B8BE8B
accent
#D058C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #5347A7

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

Preview Lab → · Contrast checker → · Palette generator →

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