#5345D8#5345D8

#5345D8 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.215 H 279.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5345D8
RGBrgb(83, 69, 216)
HSLhsl(246, 65%, 56%)
HSVhsv(246, 68%, 85%)
CMYKcmyk(61.6%, 68.1%, 0%, 15.3%)
CIE-LABlab(39.67, 47.64, -73.40)
CIE-LCHlch(39.67, 87.50, 302.99°)
OKLaboklab(50.02% 0.0356 -0.2116)
OKLCHoklch(50.02% 0.215 279.6)
XYZxyz(18.0861, 11.0517, 66.1326)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D8 #CAD845
analogous
#4580D8 #5345D8 #9C45D8
triadic
#5345D8 #D85345 #45D853
tetradic
#5345D8 #D84580 #CAD845 #45D89C
square
#5345D8 #D84580 #CAD845 #45D89C
split-complementary
#5345D8 #D89C45 #80D845
monochromatic
#261C86 #3527B9 #5345D8 #8278E3 #B1AAED

Accessibility & contrast

On white

6.54
#5345D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5345D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D8#FFFFFF#000000##FFFFFF
##5345D81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5345d8;
/* rgb */ color: rgb(83, 69, 216);
/* oklch */ color: oklch(50.0% 0.215 279.6);
Tailwind
colors: {
  custom: {
    50: '#927ae5',
    500: '#5345d8',
    950: '#000000',
  },
}
SCSS
$custom: #5345d8;
$custom-light: #927ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d8",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 245.714,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.21457,
    "h": 279.6
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5345D8

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

Preview Lab → · Contrast checker → · Palette generator →

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