#5345D6#5345D6

#5345D6 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.212 H 279.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5345D6
RGBrgb(83, 69, 214)
HSLhsl(246, 64%, 55%)
HSVhsv(246, 68%, 84%)
CMYKcmyk(61.2%, 67.8%, 0%, 16.1%)
CIE-LABlab(39.49, 47.02, -72.53)
CIE-LCHlch(39.49, 86.44, 302.95°)
OKLaboklab(49.84% 0.0359 -0.2091)
OKLCHoklch(49.84% 0.212 279.7)
XYZxyz(17.8291, 10.9489, 64.7791)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D6 #C8D645
analogous
#457FD6 #5345D6 #9B45D6
triadic
#5345D6 #D65345 #45D653
tetradic
#5345D6 #D6457F #C8D645 #45D69B
square
#5345D6 #D6457F #C8D645 #45D69B
split-complementary
#5345D6 #D69B45 #7FD645
monochromatic
#271D84 #3628B6 #5345D6 #8177E1 #B0A9EC

Accessibility & contrast

On white

6.58
#5345D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5345D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D6#FFFFFF#000000##FFFFFF
##5345D61.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)
#0062DA
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5345d6;
/* rgb */ color: rgb(83, 69, 214);
/* oklch */ color: oklch(49.8% 0.212 279.7);
Tailwind
colors: {
  custom: {
    50: '#917ae4',
    500: '#5345d6',
    950: '#000000',
  },
}
SCSS
$custom: #5345d6;
$custom-light: #917ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d6",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 245.793,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.21213,
    "h": 279.7
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#5345D6
secondary
#D4DA9D
accent
#E741D7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5345D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva