#5348C2#5348C2

#5348C2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.6% C 0.183 H 281.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5348C2
RGBrgb(83, 72, 194)
HSLhsl(245, 50%, 52%)
HSVhsv(245, 63%, 76%)
CMYKcmyk(57.2%, 62.9%, 0%, 23.9%)
CIE-LABlab(38.49, 38.98, -62.58)
CIE-LCHlch(38.49, 73.73, 301.92°)
OKLaboklab(48.6% 0.0356 -0.1799)
OKLCHoklch(48.6% 0.183 281.2)
XYZxyz(15.6192, 10.3677, 52.2066)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5348C2 #B7C248
analogous
#487AC2 #5348C2 #9048C2
triadic
#5348C2 #C25348 #48C253
tetradic
#5348C2 #C2487A #B7C248 #48C290
square
#5348C2 #C2487A #B7C248 #48C290
split-complementary
#5348C2 #C29048 #7AC248
monochromatic
#2A246C #3C339A #5348C2 #7E76D1 #A9A4E1

Accessibility & contrast

On white

6.83
#5348C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5348C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5348C2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5348C2#FFFFFF#000000##FFFFFF
##5348C21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#14667E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5348c2;
/* rgb */ color: rgb(83, 72, 194);
/* oklch */ color: oklch(48.6% 0.183 281.2);
Tailwind
colors: {
  custom: {
    50: '#8e7cd5',
    500: '#5348c2',
    950: '#000000',
  },
}
SCSS
$custom: #5348c2;
$custom-light: #8e7cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5348c2",
  "rgb": {
    "r": 83,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 245.41,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.18335,
    "h": 281.2
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#5348C2
secondary
#C9CE98
accent
#DA4ECD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5348C2

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

Preview Lab → · Contrast checker → · Palette generator →

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