#5345AF#5345AF

#5345AF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.162 H 284.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5345AF
RGBrgb(83, 69, 175)
HSLhsl(248, 43%, 48%)
HSVhsv(248, 61%, 69%)
CMYKcmyk(52.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(36.35, 34.80, -54.89)
CIE-LCHlch(36.35, 64.99, 302.37°)
OKLaboklab(46.57% 0.0397 -0.1573)
OKLCHoklch(46.57% 0.162 284.2)
XYZxyz(13.4309, 9.1897, 41.6152)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5345AF #A1AF45
analogous
#456CAF #5345AF #8845AF
triadic
#5345AF #AF5345 #45AF53
tetradic
#5345AF #AF456C #A1AF45 #45AF88
square
#5345AF #AF456C #A1AF45 #45AF88
split-complementary
#5345AF #AF8845 #6CAF45
monochromatic
#292257 #3E3483 #5345AF #786CC5 #A098D6

Accessibility & contrast

On white

7.40
#5345AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5345AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5345AF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5345AF#FFFFFF#000000##FFFFFF
##5345AF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#2E5E73
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5345af;
/* rgb */ color: rgb(83, 69, 175);
/* oklch */ color: oklch(46.6% 0.162 284.2);
Tailwind
colors: {
  custom: {
    50: '#8b79c8',
    500: '#5345af',
    950: '#000000',
  },
}
SCSS
$custom: #5345af;
$custom-light: #8b79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5345af",
  "rgb": {
    "r": 83,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 247.925,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46574,
    "c": 0.1622,
    "h": 284.2
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5345AF

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

Preview Lab → · Contrast checker → · Palette generator →

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