#5347B8#5347B8

#5347B8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.172 H 282.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5347B8
RGBrgb(83, 71, 184)
HSLhsl(246, 44%, 50%)
HSVhsv(246, 61%, 72%)
CMYKcmyk(54.9%, 61.4%, 0%, 27.8%)
CIE-LABlab(37.49, 36.41, -58.35)
CIE-LCHlch(37.49, 68.78, 301.97°)
OKLaboklab(47.63% 0.0372 -0.1674)
OKLCHoklch(47.63% 0.172 282.5)
XYZxyz(14.4696, 9.8053, 46.4683)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347B8 #ACB847
analogous
#4773B8 #5347B8 #8C47B8
triadic
#5347B8 #B85347 #47B853
tetradic
#5347B8 #B84773 #ACB847 #47B88C
square
#5347B8 #B84773 #ACB847 #47B88C
split-complementary
#5347B8 #B88C47 #73B847
monochromatic
#2B2560 #3F368C #5347B8 #7C73C9 #A69FDA

Accessibility & contrast

On white

7.09
#5347B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5347B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5347B8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347B8#FFFFFF#000000##FFFFFF
##5347B81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#256279
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5347b8;
/* rgb */ color: rgb(83, 71, 184);
/* oklch */ color: oklch(47.6% 0.172 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c7bce',
    500: '#5347b8',
    950: '#000000',
  },
}
SCSS
$custom: #5347b8;
$custom-light: #8c7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#5347b8",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 246.372,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.47626,
    "c": 0.17153,
    "h": 282.5
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#5347B8
secondary
#C1C794
accent
#D454C6
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5347B8

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

Preview Lab → · Contrast checker → · Palette generator →

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