#5347B1#5347B1

#5347B1 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.162 H 283.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5347B1
RGBrgb(83, 71, 177)
HSLhsl(247, 43%, 49%)
HSVhsv(247, 60%, 69%)
CMYKcmyk(53.1%, 59.9%, 0%, 30.6%)
CIE-LABlab(36.96, 34.20, -55.07)
CIE-LCHlch(36.96, 64.83, 301.84°)
OKLaboklab(47.08% 0.0375 -0.1578)
OKLCHoklch(47.08% 0.162 283.4)
XYZxyz(13.7539, 9.5190, 42.6991)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347B1 #A5B147
analogous
#4770B1 #5347B1 #8847B1
triadic
#5347B1 #B15347 #47B153
tetradic
#5347B1 #B14770 #A5B147 #47B188
square
#5347B1 #B14770 #A5B147 #47B188
split-complementary
#5347B1 #B18847 #70B147
monochromatic
#2A245A #3F3585 #5347B1 #7970C6 #A29BD7

Accessibility & contrast

On white

7.23
#5347B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5347B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5347B1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347B1#FFFFFF#000000##FFFFFF
##5347B11.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#2C6075
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5347b1;
/* rgb */ color: rgb(83, 71, 177);
/* oklch */ color: oklch(47.1% 0.162 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b7bc9',
    500: '#5347b1',
    950: '#000000',
  },
}
SCSS
$custom: #5347b1;
$custom-light: #8b7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5347b1",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 246.792,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.16219,
    "h": 283.4
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#5347B1
secondary
#BEC390
accent
#D355C4
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5347B1

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

Preview Lab → · Contrast checker → · Palette generator →

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