#5347D9#5347D9

#5347D9 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.214 H 279.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5347D9
RGBrgb(83, 71, 217)
HSLhsl(245, 66%, 56%)
HSVhsv(245, 67%, 85%)
CMYKcmyk(61.8%, 67.3%, 0%, 14.9%)
CIE-LABlab(40.17, 46.82, -73.15)
CIE-LCHlch(40.17, 86.85, 302.62°)
OKLaboklab(50.41% 0.0339 -0.2109)
OKLCHoklch(50.41% 0.214 279.1)
XYZxyz(18.3409, 11.3538, 66.8572)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347D9 #CDD947
analogous
#4784D9 #5347D9 #9C47D9
triadic
#5347D9 #D95347 #47D953
tetradic
#5347D9 #D94784 #CDD947 #47D99C
square
#5347D9 #D94784 #CDD947 #47D99C
split-complementary
#5347D9 #D99C47 #84D947
monochromatic
#251C89 #3327BC #5347D9 #827AE3 #B2ACEE

Accessibility & contrast

On white

6.42
#5347D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5347D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5347D9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347D9#FFFFFF#000000##FFFFFF
##5347D91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5347d9;
/* rgb */ color: rgb(83, 71, 217);
/* oklch */ color: oklch(50.4% 0.214 279.1);
Tailwind
colors: {
  custom: {
    50: '#927be6',
    500: '#5347d9',
    950: '#000000',
  },
}
SCSS
$custom: #5347d9;
$custom-light: #927be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5347d9",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 244.932,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.21358,
    "h": 279.1
  },
  "luminance": 0.11355
}

Semantic roles & 50–950 ramp

primary
#5347D9
secondary
#D7DCA0
accent
#E93FDB
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5347D9

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

Preview Lab → · Contrast checker → · Palette generator →

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