#5345D9#5345D9

#5345D9 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.1% C 0.216 H 279.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5345D9
RGBrgb(83, 69, 217)
HSLhsl(246, 66%, 56%)
HSVhsv(246, 68%, 85%)
CMYKcmyk(61.8%, 68.2%, 0%, 14.9%)
CIE-LABlab(39.75, 47.95, -73.83)
CIE-LCHlch(39.75, 88.03, 303.01°)
OKLaboklab(50.11% 0.0355 -0.2129)
OKLCHoklch(50.11% 0.216 279.5)
XYZxyz(18.2158, 11.1036, 66.8155)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D9 #CBD945
analogous
#4581D9 #5345D9 #9D45D9
triadic
#5345D9 #D95345 #45D953
tetradic
#5345D9 #D94581 #CBD945 #45D99D
square
#5345D9 #D94581 #CBD945 #45D99D
split-complementary
#5345D9 #D99D45 #81D945
monochromatic
#261C88 #3426BB #5345D9 #8278E3 #B1ABEE

Accessibility & contrast

On white

6.52
#5345D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5345D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D9#FFFFFF#000000##FFFFFF
##5345D91.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5345d9;
/* rgb */ color: rgb(83, 69, 217);
/* oklch */ color: oklch(50.1% 0.216 279.5);
Tailwind
colors: {
  custom: {
    50: '#927ae6',
    500: '#5345d9',
    950: '#000000',
  },
}
SCSS
$custom: #5345d9;
$custom-light: #927ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d9",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 245.676,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.2158,
    "h": 279.5
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#5345D9
secondary
#D6DB9E
accent
#E93FD9
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345D9

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

Preview Lab → · Contrast checker → · Palette generator →

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