#5345D2#5345D2

#5345D2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.207 H 280.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5345D2
RGBrgb(83, 69, 210)
HSLhsl(246, 61%, 55%)
HSVhsv(246, 67%, 82%)
CMYKcmyk(60.5%, 67.1%, 0%, 17.6%)
CIE-LABlab(39.15, 45.77, -70.79)
CIE-LCHlch(39.15, 84.30, 302.89°)
OKLaboklab(49.49% 0.0364 -0.204)
OKLCHoklch(49.49% 0.207 280.1)
XYZxyz(17.3246, 10.7471, 62.1217)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345D2 #C4D245
analogous
#457ED2 #5345D2 #9945D2
triadic
#5345D2 #D25345 #45D253
tetradic
#5345D2 #D2457E #C4D245 #45D299
square
#5345D2 #D2457E #C4D245 #45D299
split-complementary
#5345D2 #D29945 #7ED245
monochromatic
#281F7E #382AAF #5345D2 #8176DE #AEA8EA

Accessibility & contrast

On white

6.67
#5345D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5345D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5345D2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345D2#FFFFFF#000000##FFFFFF
##5345D21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5345d2;
/* rgb */ color: rgb(83, 69, 210);
/* oklch */ color: oklch(49.5% 0.207 280.1);
Tailwind
colors: {
  custom: {
    50: '#917ae1',
    500: '#5345d2',
    950: '#000000',
  },
}
SCSS
$custom: #5345d2;
$custom-light: #917ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5345d2",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 245.957,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49486,
    "c": 0.2072,
    "h": 280.1
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#5345D2
secondary
#D1D79C
accent
#E444D4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5345D2

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

Preview Lab → · Contrast checker → · Palette generator →

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