#5451C7#5451C7

#5451C7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.178 H 279.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5451C7
RGBrgb(84, 81, 199)
HSLhsl(242, 51%, 55%)
HSVhsv(242, 59%, 78%)
CMYKcmyk(57.8%, 59.3%, 0%, 22%)
CIE-LABlab(41.04, 35.30, -61.34)
CIE-LCHlch(41.04, 70.77, 299.92°)
OKLaboklab(50.61% 0.028 -0.1761)
OKLCHoklch(50.61% 0.178 279)
XYZxyz(16.9041, 11.8920, 55.4264)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451C7 #C4C751
analogous
#5189C7 #5451C7 #8F51C7
triadic
#5451C7 #C75451 #51C754
tetradic
#5451C7 #C75189 #C4C751 #51C78F
square
#5451C7 #C75189 #C4C751 #51C78F
split-complementary
#5451C7 #C78F51 #89C751
monochromatic
#282677 #3835A6 #5451C7 #827FD6 #AFAEE5

Accessibility & contrast

On white

6.22
#5451C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5451C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5451C7#FFFFFF#000000##FFFFFF
##5451C71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#0A6D84
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5451c7;
/* rgb */ color: rgb(84, 81, 199);
/* oklch */ color: oklch(50.6% 0.178 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f82d9',
    500: '#5451c7',
    950: '#000000',
  },
}
SCSS
$custom: #5451c7;
$custom-light: #8f82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5451c7",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 241.525,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.17836,
    "h": 279
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#5451C7
secondary
#D1D3A1
accent
#DB4DD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5451C7

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

Preview Lab → · Contrast checker → · Palette generator →

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