#5348D5#5348D5

#5348D5 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.2% C 0.208 H 279.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5348D5
RGBrgb(83, 72, 213)
HSLhsl(245, 63%, 56%)
HSVhsv(245, 66%, 84%)
CMYKcmyk(61%, 66.2%, 0%, 16.5%)
CIE-LABlab(40.04, 44.99, -71.06)
CIE-LCHlch(40.04, 84.10, 302.34°)
OKLaboklab(50.21% 0.0337 -0.2048)
OKLCHoklch(50.21% 0.208 279.3)
XYZxyz(17.8911, 11.2765, 64.1717)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5348D5 #CAD548
analogous
#4883D5 #5348D5 #9948D5
triadic
#5348D5 #D55348 #48D553
tetradic
#5348D5 #D54883 #CAD548 #48D599
square
#5348D5 #D54883 #CAD548 #48D599
split-complementary
#5348D5 #D59948 #83D548
monochromatic
#261E84 #352AB6 #5348D5 #827AE0 #B1ACEC

Accessibility & contrast

On white

6.45
#5348D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5348D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5348D5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5348D5#FFFFFF#000000##FFFFFF
##5348D51.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5348d5;
/* rgb */ color: rgb(83, 72, 213);
/* oklch */ color: oklch(50.2% 0.208 279.3);
Tailwind
colors: {
  custom: {
    50: '#917ce3',
    500: '#5348d5',
    950: '#000000',
  },
}
SCSS
$custom: #5348d5;
$custom-light: #917ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#5348d5",
  "rgb": {
    "r": 83,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 244.681,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.20751,
    "h": 279.3
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#5348D5
secondary
#D5DA9F
accent
#E642D9
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5348D5

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

Preview Lab → · Contrast checker → · Palette generator →

#5348D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva