#5347AC#5347AC

#5347AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.155 H 284.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5347AC
RGBrgb(83, 71, 172)
HSLhsl(247, 42%, 48%)
HSVhsv(247, 59%, 67%)
CMYKcmyk(51.7%, 58.7%, 0%, 32.5%)
CIE-LABlab(36.60, 32.63, -52.70)
CIE-LCHlch(36.60, 61.98, 301.77°)
OKLaboklab(46.69% 0.0376 -0.1508)
OKLCHoklch(46.69% 0.155 284)
XYZxyz(13.2647, 9.3233, 40.1224)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347AC #A0AC47
analogous
#476DAC #5347AC #8647AC
triadic
#5347AC #AC5347 #47AC53
tetradic
#5347AC #AC476D #A0AC47 #47AC86
square
#5347AC #AC476D #A0AC47 #47AC86
split-complementary
#5347AC #AC8647 #6DAC47
monochromatic
#292355 #3E3581 #5347AC #776DC3 #A099D5

Accessibility & contrast

On white

7.33
#5347AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##5347AC#FFFFFF#000000##FFFFFF
##5347AC1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#305E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5347ac;
/* rgb */ color: rgb(83, 71, 172);
/* oklch */ color: oklch(46.7% 0.155 284.0);
Tailwind
colors: {
  custom: {
    50: '#8b7ac5',
    500: '#5347ac',
    950: '#000000',
  },
}
SCSS
$custom: #5347ac;
$custom-light: #8b7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#5347ac",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 247.129,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.15543,
    "h": 284
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#5347AC
secondary
#BBC18E
accent
#D156C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #5347AC

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

Preview Lab → · Contrast checker → · Palette generator →

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