#5341DC#5341DC

#5341DC is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.224 H 279.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5341DC
RGBrgb(83, 65, 220)
HSLhsl(247, 69%, 56%)
HSVhsv(247, 70%, 86%)
CMYKcmyk(62.3%, 70.5%, 0%, 13.7%)
CIE-LABlab(39.22, 51.09, -76.43)
CIE-LCHlch(39.22, 91.93, 303.76°)
OKLaboklab(49.8% 0.0378 -0.2205)
OKLCHoklch(49.8% 0.224 279.7)
XYZxyz(18.3717, 10.7855, 68.8099)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341DC #CADC41
analogous
#417CDC #5341DC #A041DC
triadic
#5341DC #DC5341 #41DC53
tetradic
#5341DC #DC417C #CADC41 #41DCA0
square
#5341DC #DC417C #CADC41 #41DCA0
split-complementary
#5341DC #DCA041 #7CDC41
monochromatic
#261989 #3523BD #5341DC #8275E6 #B1A8EF

Accessibility & contrast

On white

6.65
#5341DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5341DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341DC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341DC#FFFFFF#000000##FFFFFF
##5341DC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E1
Deuteranopia (green-blind)
#0056D9
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5341dc;
/* rgb */ color: rgb(83, 65, 220);
/* oklch */ color: oklch(49.8% 0.224 279.7);
Tailwind
colors: {
  custom: {
    50: '#9378e8',
    500: '#5341dc',
    950: '#000000',
  },
}
SCSS
$custom: #5341dc;
$custom-light: #9378e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5341dc",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 246.968,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49802,
    "c": 0.22369,
    "h": 279.7
  },
  "luminance": 0.10787
}

Semantic roles & 50–950 ramp

primary
#5341DC
secondary
#D5DD9C
accent
#EC3CD7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5341DC

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

Preview Lab → · Contrast checker → · Palette generator →

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