#5451AE#5451AE

#5451AE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.144 H 281.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5451AE
RGBrgb(84, 81, 174)
HSLhsl(242, 36%, 50%)
HSVhsv(242, 53%, 68%)
CMYKcmyk(51.7%, 53.4%, 0%, 31.8%)
CIE-LABlab(39.28, 27.24, -49.55)
CIE-LCHlch(39.28, 56.54, 298.80°)
OKLaboklab(48.75% 0.0277 -0.1414)
OKLCHoklch(48.75% 0.144 281.1)
XYZxyz(14.2362, 10.8249, 41.3755)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451AE #ABAE51
analogous
#517DAE #5451AE #8251AE
triadic
#5451AE #AE5451 #51AE54
tetradic
#5451AE #AE517D #ABAE51 #51AE82
square
#5451AE #AE517D #ABAE51 #51AE82
split-complementary
#5451AE #AE8251 #7DAE51
monochromatic
#2C2A5A #403E84 #5451AE #7D7BC1 #A6A5D5

Accessibility & contrast

On white

6.63
#5451AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5451AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451AE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451AE#FFFFFF#000000##FFFFFF
##5451AE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#306677
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5451ae;
/* rgb */ color: rgb(84, 81, 174);
/* oklch */ color: oklch(48.7% 0.144 281.1);
Tailwind
colors: {
  custom: {
    50: '#8b82c7',
    500: '#5451ae',
    950: '#000000',
  },
}
SCSS
$custom: #5451ae;
$custom-light: #8b82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5451ae",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 241.935,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.48748,
    "c": 0.14413,
    "h": 281.1
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#5451AE
secondary
#C1C299
accent
#CC5BC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5451AE

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

Preview Lab → · Contrast checker → · Palette generator →

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