#5352BF#5352BF

#5352BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.167 H 278.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5352BF
RGBrgb(83, 82, 191)
HSLhsl(241, 46%, 54%)
HSVhsv(241, 57%, 75%)
CMYKcmyk(56.5%, 57.1%, 0%, 25.1%)
CIE-LABlab(40.63, 31.91, -57.36)
CIE-LCHlch(40.63, 65.64, 299.08°)
OKLaboklab(50.1% 0.0259 -0.1645)
OKLCHoklch(50.1% 0.167 278.9)
XYZxyz(15.9856, 11.6341, 50.6834)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5352BF #BEBF52
analogous
#5287BF #5352BF #8952BF
triadic
#5352BF #BF5352 #52BF53
tetradic
#5352BF #BF5287 #BEBF52 #52BF89
square
#5352BF #BF5287 #BEBF52 #52BF89
split-complementary
#5352BF #BF8952 #87BF52
monochromatic
#29296E #3A399B #5352BF #7F7FD0 #ACABE0

Accessibility & contrast

On white

6.31
#5352BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5352BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5352BF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5352BF#FFFFFF#000000##FFFFFF
##5352BF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#186C80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5352bf;
/* rgb */ color: rgb(83, 82, 191);
/* oklch */ color: oklch(50.1% 0.167 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d82d3',
    500: '#5352bf',
    950: '#000000',
  },
}
SCSS
$custom: #5352bf;
$custom-light: #8d82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5352bf",
  "rgb": {
    "r": 83,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 240.55,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.1665,
    "h": 278.9
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#5352BF
secondary
#CDCE9F
accent
#D652D4
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5352BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5352BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva