#5345D5#5345D5

#5345D5 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.211 H 279.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5345D5
RGBrgb(83, 69, 213)
HSLhsl(246, 63%, 55%)
HSVhsv(246, 68%, 84%)
CMYKcmyk(61%, 67.6%, 0%, 16.5%)
CIE-LABlab(39.41, 46.71, -72.10)
CIE-LCHlch(39.41, 85.91, 302.94°)
OKLaboklab(49.75% 0.036 -0.2078)
OKLCHoklch(49.75% 0.211 279.8)
XYZxyz(17.7018, 10.8980, 64.1086)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D5 #C7D545
analogous
#457FD5 #5345D5 #9B45D5
triadic
#5345D5 #D55345 #45D553
tetradic
#5345D5 #D5457F #C7D545 #45D59B
square
#5345D5 #D5457F #C7D545 #45D59B
split-complementary
#5345D5 #D59B45 #7FD545
monochromatic
#271D82 #3629B4 #5345D5 #8177E0 #AFA9EC

Accessibility & contrast

On white

6.60
#5345D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5345D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D5
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D5#FFFFFF#000000##FFFFFF
##5345D51.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5345d5;
/* rgb */ color: rgb(83, 69, 213);
/* oklch */ color: oklch(49.8% 0.211 279.8);
Tailwind
colors: {
  custom: {
    50: '#917ae3',
    500: '#5345d5',
    950: '#000000',
  },
}
SCSS
$custom: #5345d5;
$custom-light: #917ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d5",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 245.833,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.2109,
    "h": 279.8
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#5345D5
secondary
#D3D99D
accent
#E642D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5345D5

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

Preview Lab → · Contrast checker → · Palette generator →

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