#5451AC#5451AC

#5451AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.141 H 281.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5451AC
RGBrgb(84, 81, 172)
HSLhsl(242, 36%, 50%)
HSVhsv(242, 53%, 67%)
CMYKcmyk(51.2%, 52.9%, 0%, 32.5%)
CIE-LABlab(39.15, 26.60, -48.57)
CIE-LCHlch(39.15, 55.38, 298.71°)
OKLaboklab(48.61% 0.0276 -0.1386)
OKLCHoklch(48.61% 0.141 281.2)
XYZxyz(14.0427, 10.7475, 40.3562)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451AC #A9AC51
analogous
#517CAC #5451AC #8251AC
triadic
#5451AC #AC5451 #51AC54
tetradic
#5451AC #AC517C #A9AC51 #51AC82
square
#5451AC #AC517C #A9AC51 #51AC82
split-complementary
#5451AC #AC8251 #7CAC51
monochromatic
#2B2A59 #403D82 #5451AC #7C7AC0 #A5A3D4

Accessibility & contrast

On white

6.67
#5451AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5451AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5451AC#FFFFFF#000000##FFFFFF
##5451AC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160AF
Deuteranopia (green-blind)
#1859AA
Tritanopia (blue-blind)
#316576
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5451ac;
/* rgb */ color: rgb(84, 81, 172);
/* oklch */ color: oklch(48.6% 0.141 281.2);
Tailwind
colors: {
  custom: {
    50: '#8b82c5',
    500: '#5451ac',
    950: '#000000',
  },
}
SCSS
$custom: #5451ac;
$custom-light: #8b82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5451ac",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 241.978,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.14131,
    "h": 281.2
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#5451AC
secondary
#C0C198
accent
#CC5CC8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5451AC

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

Preview Lab → · Contrast checker → · Palette generator →

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