#5342DD#5342DD

#5342DD is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.224 H 279.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5342DD
RGBrgb(83, 66, 221)
HSLhsl(247, 70%, 56%)
HSVhsv(247, 70%, 87%)
CMYKcmyk(62.4%, 70.1%, 0%, 13.3%)
CIE-LABlab(39.50, 50.85, -76.53)
CIE-LCHlch(39.50, 91.88, 303.60°)
OKLaboklab(50.03% 0.037 -0.2208)
OKLCHoklch(50.03% 0.224 279.5)
XYZxyz(18.5625, 10.9544, 69.5288)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5342DD #CCDD42
analogous
#427FDD #5342DD #A142DD
triadic
#5342DD #DD5342 #42DD53
tetradic
#5342DD #DD427F #CCDD42 #42DDA1
square
#5342DD #DD427F #CCDD42 #42DDA1
split-complementary
#5342DD #DDA142 #7FDD42
monochromatic
#26198C #3422BF #5342DD #8276E6 #B1AAF0

Accessibility & contrast

On white

6.58
#5342DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5342DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5342DD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5342DD#FFFFFF#000000##FFFFFF
##5342DD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0057DA
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5342dd;
/* rgb */ color: rgb(83, 66, 221);
/* oklch */ color: oklch(50.0% 0.224 279.5);
Tailwind
colors: {
  custom: {
    50: '#9378e9',
    500: '#5342dd',
    950: '#000000',
  },
}
SCSS
$custom: #5342dd;
$custom-light: #9378e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5342dd",
  "rgb": {
    "r": 83,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 246.581,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.22384,
    "h": 279.5
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#5342DD
secondary
#D6DD9D
accent
#EC3BD9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5342DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5342DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva