#5347CB#5347CB

#5347CB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.2% C 0.196 H 280.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5347CB
RGBrgb(83, 71, 203)
HSLhsl(245, 56%, 54%)
HSVhsv(245, 65%, 80%)
CMYKcmyk(59.1%, 65%, 0%, 20.4%)
CIE-LABlab(39.00, 42.42, -67.00)
CIE-LCHlch(39.00, 79.30, 302.34°)
OKLaboklab(49.19% 0.0356 -0.1928)
OKLCHoklch(49.19% 0.196 280.5)
XYZxyz(16.5966, 10.6561, 57.6706)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347CB #BFCB47
analogous
#477DCB #5347CB #9547CB
triadic
#5347CB #CB5347 #47CB53
tetradic
#5347CB #CB477D #BFCB47 #47CB95
square
#5347CB #CB477D #BFCB47 #47CB95
split-complementary
#5347CB #CB9547 #7DCB47
monochromatic
#292176 #3A2FA6 #5347CB #8077D8 #ACA6E6

Accessibility & contrast

On white

6.71
#5347CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5347CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5347CB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347CB#FFFFFF#000000##FFFFFF
##5347CB1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5347cb;
/* rgb */ color: rgb(83, 71, 203);
/* oklch */ color: oklch(49.2% 0.196 280.5);
Tailwind
colors: {
  custom: {
    50: '#8f7bdc',
    500: '#5347cb',
    950: '#000000',
  },
}
SCSS
$custom: #5347cb;
$custom-light: #8f7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5347cb",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 245.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.19611,
    "h": 280.5
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#5347CB
secondary
#CED39B
accent
#DF49D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5347CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5347CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva