#5345D3#5345D3

#5345D3 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.208 H 280.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5345D3
RGBrgb(83, 69, 211)
HSLhsl(246, 62%, 55%)
HSVhsv(246, 67%, 83%)
CMYKcmyk(60.7%, 67.3%, 0%, 17.3%)
CIE-LABlab(39.24, 46.09, -71.23)
CIE-LCHlch(39.24, 84.84, 302.90°)
OKLaboklab(49.57% 0.0363 -0.2052)
OKLCHoklch(49.57% 0.208 280)
XYZxyz(17.4495, 10.7971, 62.7799)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D3 #C5D345
analogous
#457ED3 #5345D3 #9A45D3
triadic
#5345D3 #D35345 #45D353
tetradic
#5345D3 #D3457E #C5D345 #45D39A
square
#5345D3 #D3457E #C5D345 #45D39A
split-complementary
#5345D3 #D39A45 #7ED345
monochromatic
#281E7F #372AB1 #5345D3 #8176DF #AFA8EA

Accessibility & contrast

On white

6.65
#5345D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5345D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D3#FFFFFF#000000##FFFFFF
##5345D31.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)
#0062D7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5345d3;
/* rgb */ color: rgb(83, 69, 211);
/* oklch */ color: oklch(49.6% 0.208 280.0);
Tailwind
colors: {
  custom: {
    50: '#917ae2',
    500: '#5345d3',
    950: '#000000',
  },
}
SCSS
$custom: #5345d3;
$custom-light: #917ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d3",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 245.915,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.20844,
    "h": 280
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

primary
#5345D3
secondary
#D2D89C
accent
#E543D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5345D3

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

Preview Lab → · Contrast checker → · Palette generator →

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