#5451AA#5451AA

#5451AA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.5% C 0.138 H 281.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5451AA
RGBrgb(84, 81, 170)
HSLhsl(242, 35%, 49%)
HSVhsv(242, 52%, 67%)
CMYKcmyk(50.6%, 52.4%, 0%, 33.3%)
CIE-LABlab(39.02, 25.97, -47.60)
CIE-LCHlch(39.02, 54.22, 298.61°)
OKLaboklab(48.47% 0.0274 -0.1357)
OKLCHoklch(48.47% 0.138 281.4)
XYZxyz(13.8521, 10.6712, 39.3523)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451AA #A7AA51
analogous
#517BAA #5451AA #8151AA
triadic
#5451AA #AA5451 #51AA54
tetradic
#5451AA #AA517B #A7AA51 #51AA81
square
#5451AA #AA517B #A7AA51 #51AA81
split-complementary
#5451AA #AA8151 #7BAA51
monochromatic
#2B2A57 #403D81 #5451AA #7B79BF #A4A2D3

Accessibility & contrast

On white

6.70
#5451AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5451AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5451AA#FFFFFF#000000##FFFFFF
##5451AA1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#336575
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5451aa;
/* rgb */ color: rgb(84, 81, 170);
/* oklch */ color: oklch(48.5% 0.138 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a82c4',
    500: '#5451aa',
    950: '#000000',
  },
}
SCSS
$custom: #5451aa;
$custom-light: #8a82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5451aa",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 242.022,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.13847,
    "h": 281.4
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#5451AA
secondary
#BFC097
accent
#CB5CC8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5451AA

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

Preview Lab → · Contrast checker → · Palette generator →

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