#5451CC#5451CC

#5451CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.185 H 278.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5451CC
RGBrgb(84, 81, 204)
HSLhsl(241, 55%, 56%)
HSVhsv(241, 60%, 80%)
CMYKcmyk(58.8%, 60.3%, 0%, 20%)
CIE-LABlab(41.42, 36.92, -63.62)
CIE-LCHlch(41.42, 73.56, 300.13°)
OKLaboklab(51.01% 0.0279 -0.1829)
OKLCHoklch(51.01% 0.185 278.7)
XYZxyz(17.4942, 12.1281, 58.5341)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451CC #C9CC51
analogous
#518BCC #5451CC #9151CC
triadic
#5451CC #CC5451 #51CC54
tetradic
#5451CC #CC518B #C9CC51 #51CC91
square
#5451CC #CC518B #C9CC51 #51CC91
split-complementary
#5451CC #CC9151 #8BCC51
monochromatic
#27257E #3633AD #5451CC #8380DA #B1B0E8

Accessibility & contrast

On white

6.13
#5451CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5451CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5451CC#FFFFFF#000000##FFFFFF
##5451CC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5451cc;
/* rgb */ color: rgb(84, 81, 204);
/* oklch */ color: oklch(51.0% 0.185 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f82dc',
    500: '#5451cc',
    950: '#000000',
  },
}
SCSS
$custom: #5451cc;
$custom-light: #8f82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5451cc",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 241.463,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.18497,
    "h": 278.7
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#5451CC
secondary
#D5D6A3
accent
#DE4ADA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5451CC

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

Preview Lab → · Contrast checker → · Palette generator →

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