#5341D2#5341D2

#5341D2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.212 H 280.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5341D2
RGBrgb(83, 65, 210)
HSLhsl(247, 62%, 54%)
HSVhsv(247, 69%, 82%)
CMYKcmyk(60.5%, 69%, 0%, 17.6%)
CIE-LABlab(38.33, 48.03, -72.14)
CIE-LCHlch(38.33, 86.67, 303.65°)
OKLaboklab(48.89% 0.0396 -0.2079)
OKLCHoklch(48.89% 0.212 280.8)
XYZxyz(17.0868, 10.2715, 62.0425)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341D2 #C0D241
analogous
#4178D2 #5341D2 #9C41D2
triadic
#5341D2 #D25341 #41D253
tetradic
#5341D2 #D24178 #C0D241 #41D29C
square
#5341D2 #D24178 #C0D241 #41D29C
split-complementary
#5341D2 #D29C41 #78D241
monochromatic
#291D7B #3929AD #5341D2 #8072DE #ADA4E9

Accessibility & contrast

On white

6.87
#5341D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5341D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341D2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341D2#FFFFFF#000000##FFFFFF
##5341D21.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5341d2;
/* rgb */ color: rgb(83, 65, 210);
/* oklch */ color: oklch(48.9% 0.212 280.8);
Tailwind
colors: {
  custom: {
    50: '#9177e1',
    500: '#5341d2',
    950: '#000000',
  },
}
SCSS
$custom: #5341d2;
$custom-light: #9177e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5341d2",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 247.448,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.21166,
    "h": 280.8
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#5341D2
secondary
#CFD698
accent
#E543D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5341D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5341D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva