#5345C3#5345C3

#5345C3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.188 H 281.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5345C3
RGBrgb(83, 69, 195)
HSLhsl(247, 51%, 52%)
HSVhsv(247, 65%, 76%)
CMYKcmyk(57.4%, 64.6%, 0%, 23.5%)
CIE-LABlab(37.90, 41.08, -64.13)
CIE-LCHlch(37.90, 76.16, 302.64°)
OKLaboklab(48.2% 0.0382 -0.1844)
OKLCHoklch(48.2% 0.188 281.7)
XYZxyz(15.5427, 10.0344, 52.7370)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345C3 #B5C345
analogous
#4576C3 #5345C3 #9245C3
triadic
#5345C3 #C35345 #45C353
tetradic
#5345C3 #C34576 #B5C345 #45C392
square
#5345C3 #C34576 #B5C345 #45C392
split-complementary
#5345C3 #C39245 #76C345
monochromatic
#2B236B #3D3199 #5345C3 #7E73D2 #A9A2E1

Accessibility & contrast

On white

6.98
#5345C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5345C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345C3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345C3#FFFFFF#000000##FFFFFF
##5345C31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#13657E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5345c3;
/* rgb */ color: rgb(83, 69, 195);
/* oklch */ color: oklch(48.2% 0.188 281.7);
Tailwind
colors: {
  custom: {
    50: '#8e7ad6',
    500: '#5345c3',
    950: '#000000',
  },
}
SCSS
$custom: #5345c3;
$custom-light: #8e7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#5345c3",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 246.667,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.18834,
    "h": 281.7
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#5345C3
secondary
#C7CE96
accent
#DB4DCB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5345C3

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

Preview Lab → · Contrast checker → · Palette generator →

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