#5342CE#5342CE

#5342CE is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.7% C 0.206 H 281.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5342CE
RGBrgb(83, 66, 206)
HSLhsl(247, 59%, 53%)
HSVhsv(247, 68%, 81%)
CMYKcmyk(59.7%, 68%, 0%, 19.2%)
CIE-LABlab(38.18, 46.24, -70.07)
CIE-LCHlch(38.18, 83.95, 303.42°)
OKLaboklab(48.68% 0.0394 -0.2018)
OKLCHoklch(48.68% 0.206 281)
XYZxyz(16.6526, 10.1905, 59.4700)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5342CE #BDCE42
analogous
#4277CE #5342CE #9942CE
triadic
#5342CE #CE5342 #42CE53
tetradic
#5342CE #CE4277 #BDCE42 #42CE99
square
#5342CE #CE4277 #BDCE42 #42CE99
split-complementary
#5342CE #CE9942 #77CE42
monochromatic
#291F77 #3A2BA7 #5342CE #7F73DB #ABA3E7

Accessibility & contrast

On white

6.91
#5342CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5342CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5342CE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5342CE#FFFFFF#000000##FFFFFF
##5342CE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5342ce;
/* rgb */ color: rgb(83, 66, 206);
/* oklch */ color: oklch(48.7% 0.206 281.0);
Tailwind
colors: {
  custom: {
    50: '#9078de',
    500: '#5342ce',
    950: '#000000',
  },
}
SCSS
$custom: #5342ce;
$custom-light: #9078de;
$custom-dark: #000000;
JSON
{
  "hex": "#5342ce",
  "rgb": {
    "r": 83,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 247.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.20566,
    "h": 281
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

primary
#5342CE
secondary
#CDD498
accent
#E246CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5342CE

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

Preview Lab → · Contrast checker → · Palette generator →

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