#5347A2#5347A2

#5347A2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.142 H 285.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5347A2
RGBrgb(83, 71, 162)
HSLhsl(248, 39%, 46%)
HSVhsv(248, 56%, 64%)
CMYKcmyk(48.8%, 56.2%, 0%, 36.5%)
CIE-LABlab(35.89, 29.50, -47.86)
CIE-LCHlch(35.89, 56.22, 301.65°)
OKLaboklab(45.94% 0.0376 -0.1366)
OKLCHoklch(45.94% 0.142 285.4)
XYZxyz(12.3402, 8.9535, 35.2534)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347A2 #96A247
analogous
#4768A2 #5347A2 #8047A2
triadic
#5347A2 #A25347 #47A253
tetradic
#5347A2 #A24768 #96A247 #47A280
square
#5347A2 #A24768 #96A247 #47A280
split-complementary
#5347A2 #A28047 #68A247
monochromatic
#27224D #3D3477 #5347A2 #7469BD #9B94D0

Accessibility & contrast

On white

7.52
#5347A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5347A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5347A2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347A2#FFFFFF#000000##FFFFFF
##5347A21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#0C52A0
Tritanopia (blue-blind)
#385B6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5347a2;
/* rgb */ color: rgb(83, 71, 162);
/* oklch */ color: oklch(45.9% 0.142 285.4);
Tailwind
colors: {
  custom: {
    50: '#897abe',
    500: '#5347a2',
    950: '#000000',
  },
}
SCSS
$custom: #5347a2;
$custom-light: #897abe;
$custom-dark: #000000;
JSON
{
  "hex": "#5347a2",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 247.912,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.14166,
    "h": 285.4
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#5347A2
secondary
#B5BC89
accent
#CF59BF
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #5347A2

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

Preview Lab → · Contrast checker → · Palette generator →

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