#5347CA#5347CA

#5347CA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.1% C 0.195 H 280.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5347CA
RGBrgb(83, 71, 202)
HSLhsl(245, 55%, 54%)
HSVhsv(245, 65%, 79%)
CMYKcmyk(58.9%, 64.9%, 0%, 20.8%)
CIE-LABlab(38.91, 42.10, -66.55)
CIE-LCHlch(38.91, 78.75, 302.32°)
OKLaboklab(49.11% 0.0357 -0.1915)
OKLCHoklch(49.11% 0.195 280.6)
XYZxyz(16.4778, 10.6086, 57.0450)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5347CA #BECA47
analogous
#477CCA #5347CA #9447CA
triadic
#5347CA #CA5347 #47CA53
tetradic
#5347CA #CA477C #BECA47 #47CA94
square
#5347CA #CA477C #BECA47 #47CA94
split-complementary
#5347CA #CA9447 #7CCA47
monochromatic
#292275 #3A2FA4 #5347CA #7F77D8 #ACA6E5

Accessibility & contrast

On white

6.73
#5347CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5347CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5347CA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5347CA#FFFFFF#000000##FFFFFF
##5347CA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5347ca;
/* rgb */ color: rgb(83, 71, 202);
/* oklch */ color: oklch(49.1% 0.195 280.6);
Tailwind
colors: {
  custom: {
    50: '#8f7bdb',
    500: '#5347ca',
    950: '#000000',
  },
}
SCSS
$custom: #5347ca;
$custom-light: #8f7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5347ca",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 245.496,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.19485,
    "h": 280.6
  },
  "luminance": 0.1061
}

Semantic roles & 50–950 ramp

primary
#5347CA
secondary
#CDD29A
accent
#DF49D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5347CA

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

Preview Lab → · Contrast checker → · Palette generator →

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