#5451C5#5451C5

#5451C5 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.176 H 279.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5451C5
RGBrgb(84, 81, 197)
HSLhsl(242, 50%, 55%)
HSVhsv(242, 59%, 77%)
CMYKcmyk(57.4%, 58.9%, 0%, 22.7%)
CIE-LABlab(40.90, 34.66, -60.42)
CIE-LCHlch(40.90, 69.65, 299.84°)
OKLaboklab(50.46% 0.0281 -0.1734)
OKLCHoklch(50.46% 0.176 279.2)
XYZxyz(16.6734, 11.7998, 54.2115)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451C5 #C2C551
analogous
#5188C5 #5451C5 #8E51C5
triadic
#5451C5 #C55451 #51C554
tetradic
#5451C5 #C55188 #C2C551 #51C58E
square
#5451C5 #C55188 #C2C551 #51C58E
split-complementary
#5451C5 #C58E51 #88C551
monochromatic
#292775 #3936A3 #5451C5 #817FD4 #AEADE4

Accessibility & contrast

On white

6.25
#5451C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5451C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5451C5#FFFFFF#000000##FFFFFF
##5451C51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#106D83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5451c5;
/* rgb */ color: rgb(84, 81, 197);
/* oklch */ color: oklch(50.5% 0.176 279.2);
Tailwind
colors: {
  custom: {
    50: '#8e82d7',
    500: '#5451c5',
    950: '#000000',
  },
}
SCSS
$custom: #5451c5;
$custom-light: #8e82d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5451c5",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 241.552,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.1757,
    "h": 279.2
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#5451C5
secondary
#D0D1A0
accent
#DA4ED6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5451C5

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

Preview Lab → · Contrast checker → · Palette generator →

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