#5347AB#5347AB

#5347AB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.154 H 284.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5347AB
RGBrgb(83, 71, 171)
HSLhsl(247, 41%, 47%)
HSVhsv(247, 58%, 67%)
CMYKcmyk(51.5%, 58.5%, 0%, 32.9%)
CIE-LABlab(36.53, 32.32, -52.22)
CIE-LCHlch(36.53, 61.41, 301.75°)
OKLaboklab(46.61% 0.0376 -0.1494)
OKLCHoklch(46.61% 0.154 284.1)
XYZxyz(13.1690, 9.2851, 39.6185)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347AB #9FAB47
analogous
#476DAB #5347AB #8547AB
triadic
#5347AB #AB5347 #47AB53
tetradic
#5347AB #AB476D #9FAB47 #47AB85
square
#5347AB #AB476D #9FAB47 #47AB85
split-complementary
#5347AB #AB8547 #6DAB47
monochromatic
#292355 #3E3580 #5347AB #776DC2 #9F98D4

Accessibility & contrast

On white

7.35
#5347AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5347AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5347AB#FFFFFF#000000##FFFFFF
##5347AB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#315E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5347ab;
/* rgb */ color: rgb(83, 71, 171);
/* oklch */ color: oklch(46.6% 0.154 284.1);
Tailwind
colors: {
  custom: {
    50: '#8a7ac5',
    500: '#5347ab',
    950: '#000000',
  },
}
SCSS
$custom: #5347ab;
$custom-light: #8a7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#5347ab",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 247.2,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46614,
    "c": 0.15407,
    "h": 284.1
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5347AB

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

Preview Lab → · Contrast checker → · Palette generator →

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