#5347E1#5347E1

#5347E1 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.223 H 278.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5347E1
RGBrgb(83, 71, 225)
HSLhsl(245, 72%, 58%)
HSVhsv(245, 68%, 88%)
CMYKcmyk(63.1%, 68.4%, 0%, 11.8%)
CIE-LABlab(40.86, 49.32, -76.58)
CIE-LCHlch(40.86, 91.09, 302.78°)
OKLaboklab(51.12% 0.0328 -0.2209)
OKLCHoklch(51.12% 0.223 278.4)
XYZxyz(19.4068, 11.7802, 72.4707)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347E1 #D5E147
analogous
#4788E1 #5347E1 #A047E1
triadic
#5347E1 #E15347 #47E153
tetradic
#5347E1 #E14788 #D5E147 #47E1A0
square
#5347E1 #E14788 #D5E147 #47E1A0
split-complementary
#5347E1 #E1A047 #88E147
monochromatic
#221895 #2E21CA #5347E1 #847CEA #B5B0F2

Accessibility & contrast

On white

6.26
#5347E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5347E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5347E1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347E1#FFFFFF#000000##FFFFFF
##5347E11.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5347e1;
/* rgb */ color: rgb(83, 71, 225);
/* oklch */ color: oklch(51.1% 0.223 278.4);
Tailwind
colors: {
  custom: {
    50: '#937cec',
    500: '#5347e1',
    950: '#000000',
  },
}
SCSS
$custom: #5347e1;
$custom-light: #937cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5347e1",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 244.675,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.22335,
    "h": 278.4
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#5347E1
secondary
#DCE1A3
accent
#EF39E1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5347E1

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

Preview Lab → · Contrast checker → · Palette generator →

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