#5345BC#5345BC

#5345BC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.179 H 282.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5345BC
RGBrgb(83, 69, 188)
HSLhsl(247, 47%, 50%)
HSVhsv(247, 63%, 74%)
CMYKcmyk(55.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(37.34, 38.88, -60.94)
CIE-LCHlch(37.34, 72.29, 302.54°)
OKLaboklab(47.62% 0.0389 -0.1751)
OKLCHoklch(47.62% 0.179 282.5)
XYZxyz(14.7697, 9.7252, 48.6661)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345BC #AEBC45
analogous
#4572BC #5345BC #8F45BC
triadic
#5345BC #BC5345 #45BC53
tetradic
#5345BC #BC4572 #AEBC45 #45BC8F
square
#5345BC #BC4572 #AEBC45 #45BC8F
split-complementary
#5345BC #BC8F45 #72BC45
monochromatic
#2B2463 #3F3490 #5345BC #7D72CC #A69FDC

Accessibility & contrast

On white

7.13
#5345BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5345BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5345BC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345BC#FFFFFF#000000##FFFFFF
##5345BC1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#20627A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5345bc;
/* rgb */ color: rgb(83, 69, 188);
/* oklch */ color: oklch(47.6% 0.179 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d79d1',
    500: '#5345bc',
    950: '#000000',
  },
}
SCSS
$custom: #5345bc;
$custom-light: #8d79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5345bc",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 247.059,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.17932,
    "h": 282.5
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#5345BC
secondary
#C3C994
accent
#D751C7
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5345BC

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

Preview Lab → · Contrast checker → · Palette generator →

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