#5342DE#5342DE

#5342DE is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.225 H 279.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5342DE
RGBrgb(83, 66, 222)
HSLhsl(247, 70%, 56%)
HSVhsv(247, 70%, 87%)
CMYKcmyk(62.6%, 70.3%, 0%, 12.9%)
CIE-LABlab(39.59, 51.16, -76.95)
CIE-LCHlch(39.59, 92.41, 303.62°)
OKLaboklab(50.13% 0.0368 -0.222)
OKLCHoklch(50.13% 0.225 279.4)
XYZxyz(18.6961, 11.0079, 70.2326)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5342DE #CDDE42
analogous
#427FDE #5342DE #A142DE
triadic
#5342DE #DE5342 #42DE53
tetradic
#5342DE #DE427F #CDDE42 #42DEA1
square
#5342DE #DE427F #CDDE42 #42DEA1
split-complementary
#5342DE #DEA142 #7FDE42
monochromatic
#25198D #3322C1 #5342DE #8276E7 #B2AAF0

Accessibility & contrast

On white

6.56
#5342DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5342DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5342DE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5342DE#FFFFFF#000000##FFFFFF
##5342DE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0057DB
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5342de;
/* rgb */ color: rgb(83, 66, 222);
/* oklch */ color: oklch(50.1% 0.225 279.4);
Tailwind
colors: {
  custom: {
    50: '#9378ea',
    500: '#5342de',
    950: '#000000',
  },
}
SCSS
$custom: #5342de;
$custom-light: #9378ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5342de",
  "rgb": {
    "r": 83,
    "g": 66,
    "b": 222
  },
  "hsl": {
    "h": 246.538,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.22504,
    "h": 279.4
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#5342DE
secondary
#D7DE9E
accent
#ED3BDA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5342DE

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

Preview Lab → · Contrast checker → · Palette generator →

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