#5345D1#5345D1

#5345D1 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.206 H 280.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5345D1
RGBrgb(83, 69, 209)
HSLhsl(246, 60%, 55%)
HSVhsv(246, 67%, 82%)
CMYKcmyk(60.3%, 67%, 0%, 18%)
CIE-LABlab(39.07, 45.46, -70.35)
CIE-LCHlch(39.07, 83.76, 302.87°)
OKLaboklab(49.4% 0.0366 -0.2027)
OKLCHoklch(49.4% 0.206 280.2)
XYZxyz(17.2004, 10.6974, 61.4677)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D1 #C3D145
analogous
#457DD1 #5345D1 #9945D1
triadic
#5345D1 #D15345 #45D153
tetradic
#5345D1 #D1457D #C3D145 #45D199
square
#5345D1 #D1457D #C3D145 #45D199
split-complementary
#5345D1 #D19945 #7DD145
monochromatic
#281F7D #382BAE #5345D1 #8076DD #AEA7E9

Accessibility & contrast

On white

6.69
#5345D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5345D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D1#FFFFFF#000000##FFFFFF
##5345D11.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0057CE
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5345d1;
/* rgb */ color: rgb(83, 69, 209);
/* oklch */ color: oklch(49.4% 0.206 280.2);
Tailwind
colors: {
  custom: {
    50: '#917ae0',
    500: '#5345d1',
    950: '#000000',
  },
}
SCSS
$custom: #5345d1;
$custom-light: #917ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d1",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 246,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.20596,
    "h": 280.2
  },
  "luminance": 0.10699
}

Semantic roles & 50–950 ramp

primary
#5345D1
secondary
#D1D79B
accent
#E344D4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5345D1

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

Preview Lab → · Contrast checker → · Palette generator →

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