#5345BD#5345BD

#5345BD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.181 H 282.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5345BD
RGBrgb(83, 69, 189)
HSLhsl(247, 48%, 51%)
HSVhsv(247, 63%, 74%)
CMYKcmyk(56.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(37.42, 39.19, -61.40)
CIE-LCHlch(37.42, 72.84, 302.55°)
OKLaboklab(47.7% 0.0388 -0.1764)
OKLCHoklch(47.7% 0.181 282.4)
XYZxyz(14.8779, 9.7684, 49.2358)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345BD #AFBD45
analogous
#4573BD #5345BD #8F45BD
triadic
#5345BD #BD5345 #45BD53
tetradic
#5345BD #BD4573 #AFBD45 #45BD8F
square
#5345BD #BD4573 #AFBD45 #45BD8F
split-complementary
#5345BD #BD8F45 #73BD45
monochromatic
#2B2464 #3E3491 #5345BD #7D72CD #A79FDD

Accessibility & contrast

On white

7.11
#5345BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5345BD
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345BD#FFFFFF#000000##FFFFFF
##5345BD1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#1E637A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5345bd;
/* rgb */ color: rgb(83, 69, 189);
/* oklch */ color: oklch(47.7% 0.181 282.4);
Tailwind
colors: {
  custom: {
    50: '#8d79d2',
    500: '#5345bd',
    950: '#000000',
  },
}
SCSS
$custom: #5345bd;
$custom-light: #8d79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5345bd",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 247,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47699,
    "c": 0.18062,
    "h": 282.4
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#5345BD
secondary
#C3CA94
accent
#D751C8
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5345BD

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

Preview Lab → · Contrast checker → · Palette generator →

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