#5345AE#5345AE

#5345AE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.161 H 284.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#5345AE
RGBrgb(83, 69, 174)
HSLhsl(248, 43%, 48%)
HSVhsv(248, 60%, 68%)
CMYKcmyk(52.3%, 60.3%, 0%, 31.8%)
CIE-LABlab(36.27, 34.48, -54.42)
CIE-LCHlch(36.27, 64.42, 302.36°)
OKLaboklab(46.5% 0.0397 -0.1559)
OKLCHoklch(46.5% 0.161 284.3)
XYZxyz(13.3331, 9.1505, 41.0999)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345AE #A0AE45
analogous
#456BAE #5345AE #8745AE
triadic
#5345AE #AE5345 #45AE53
tetradic
#5345AE #AE456B #A0AE45 #45AE87
square
#5345AE #AE456B #A0AE45 #45AE87
split-complementary
#5345AE #AE8745 #6BAE45
monochromatic
#292256 #3E3482 #5345AE #776CC5 #A097D6

Accessibility & contrast

On white

7.42
#5345AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5345AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5345AE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345AE#FFFFFF#000000##FFFFFF
##5345AE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#2F5E73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5345ae;
/* rgb */ color: rgb(83, 69, 174);
/* oklch */ color: oklch(46.5% 0.161 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b79c7',
    500: '#5345ae',
    950: '#000000',
  },
}
SCSS
$custom: #5345ae;
$custom-light: #8b79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5345ae",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 248,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.16086,
    "h": 284.3
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#5345AE
secondary
#BBC28D
accent
#D355C2
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #5345AE

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

Preview Lab → · Contrast checker → · Palette generator →

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