#5345D7#5345D7

#5345D7 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.213 H 279.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5345D7
RGBrgb(83, 69, 215)
HSLhsl(246, 65%, 56%)
HSVhsv(246, 68%, 84%)
CMYKcmyk(61.4%, 67.9%, 0%, 15.7%)
CIE-LABlab(39.58, 47.33, -72.96)
CIE-LCHlch(39.58, 86.97, 302.97°)
OKLaboklab(49.93% 0.0357 -0.2103)
OKLCHoklch(49.93% 0.213 279.6)
XYZxyz(17.9572, 11.0002, 65.4538)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D7 #C9D745
analogous
#4580D7 #5345D7 #9C45D7
triadic
#5345D7 #D75345 #45D753
tetradic
#5345D7 #D74580 #C9D745 #45D79C
square
#5345D7 #D74580 #C9D745 #45D79C
split-complementary
#5345D7 #D79C45 #80D745
monochromatic
#271D85 #3527B7 #5345D7 #8277E2 #B0AAED

Accessibility & contrast

On white

6.56
#5345D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5345D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D7#FFFFFF#000000##FFFFFF
##5345D71.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)
#0063DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5345d7;
/* rgb */ color: rgb(83, 69, 215);
/* oklch */ color: oklch(49.9% 0.213 279.6);
Tailwind
colors: {
  custom: {
    50: '#927ae4',
    500: '#5345d7',
    950: '#000000',
  },
}
SCSS
$custom: #5345d7;
$custom-light: #927ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d7",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 245.753,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.21335,
    "h": 279.6
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#5345D7
secondary
#D4DA9E
accent
#E840D8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345D7

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

Preview Lab → · Contrast checker → · Palette generator →

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