#5342DA#5342DA

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

Color values

HEX#5342DA
RGBrgb(83, 66, 218)
HSLhsl(247, 67%, 56%)
HSVhsv(247, 70%, 85%)
CMYKcmyk(61.9%, 69.7%, 0%, 14.5%)
CIE-LABlab(39.23, 49.93, -75.25)
CIE-LCHlch(39.23, 90.31, 303.57°)
OKLaboklab(49.76% 0.0375 -0.217)
OKLCHoklch(49.76% 0.22 279.8)
XYZxyz(18.1664, 10.7960, 67.4426)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5342DA #C9DA42
analogous
#427DDA #5342DA #9F42DA
triadic
#5342DA #DA5342 #42DA53
tetradic
#5342DA #DA427D #C9DA42 #42DA9F
square
#5342DA #DA427D #C9DA42 #42DA9F
split-complementary
#5342DA #DA9F42 #7DDA42
monochromatic
#271A87 #3524BA #5342DA #8275E4 #B0A8EE

Accessibility & contrast

On white

6.65
#5342DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5342DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5342DA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5342DA#FFFFFF#000000##FFFFFF
##5342DA1.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)
#0062DF
Deuteranopia (green-blind)
#0056D7
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5342da;
/* rgb */ color: rgb(83, 66, 218);
/* oklch */ color: oklch(49.8% 0.220 279.8);
Tailwind
colors: {
  custom: {
    50: '#9278e7',
    500: '#5342da',
    950: '#000000',
  },
}
SCSS
$custom: #5342da;
$custom-light: #9278e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5342da",
  "rgb": {
    "r": 83,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 246.711,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.22025,
    "h": 279.8
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#5342DA
secondary
#D4DB9C
accent
#EA3ED7
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5342DA

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

Preview Lab → · Contrast checker → · Palette generator →

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