#5347A8#5347A8

#5347A8 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.150 H 284.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5347A8
RGBrgb(83, 71, 168)
HSLhsl(247, 41%, 47%)
HSVhsv(247, 58%, 66%)
CMYKcmyk(50.6%, 57.7%, 0%, 34.1%)
CIE-LABlab(36.31, 31.37, -50.78)
CIE-LCHlch(36.31, 59.69, 301.71°)
OKLaboklab(46.39% 0.0377 -0.1452)
OKLCHoklch(46.39% 0.15 284.5)
XYZxyz(12.8863, 9.1720, 38.1296)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347A8 #9CA847
analogous
#476CA8 #5347A8 #8447A8
triadic
#5347A8 #A85347 #47A853
tetradic
#5347A8 #A8476C #9CA847 #47A884
square
#5347A8 #A8476C #9CA847 #47A884
split-complementary
#5347A8 #A88447 #6CA847
monochromatic
#282352 #3E357D #5347A8 #766CC1 #9E97D3

Accessibility & contrast

On white

7.41
#5347A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5347A8#FFFFFF#000000##FFFFFF
##5347A81.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#345D70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5347a8;
/* rgb */ color: rgb(83, 71, 168);
/* oklch */ color: oklch(46.4% 0.150 284.5);
Tailwind
colors: {
  custom: {
    50: '#8a7ac2',
    500: '#5347a8',
    950: '#000000',
  },
}
SCSS
$custom: #5347a8;
$custom-light: #8a7ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#5347a8",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 247.423,
    "s": 40.586,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.14996,
    "h": 284.5
  },
  "luminance": 0.09173
}

Semantic roles & 50–950 ramp

primary
#5347A8
secondary
#B9BF8C
accent
#D057C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #5347A8

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

Preview Lab → · Contrast checker → · Palette generator →

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