#5451DC#5451DC

#5451DC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.206 H 277.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5451DC
RGBrgb(84, 81, 220)
HSLhsl(241, 67%, 59%)
HSVhsv(241, 63%, 86%)
CMYKcmyk(61.8%, 63.2%, 0%, 13.7%)
CIE-LABlab(42.67, 42.09, -70.78)
CIE-LCHlch(42.67, 82.35, 300.74°)
OKLaboklab(52.31% 0.0269 -0.2039)
OKLCHoklch(52.31% 0.206 277.5)
XYZxyz(19.5127, 12.9354, 69.1648)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451DC #D9DC51
analogous
#5194DC #5451DC #9A51DC
triadic
#5451DC #DC5451 #51DC54
tetradic
#5451DC #DC5194 #D9DC51 #51DC9A
square
#5451DC #DC5194 #D9DC51 #51DC9A
split-complementary
#5451DC #DC9A51 #94DC51
monochromatic
#201E95 #2C28C8 #5451DC #8684E6 #B8B7F0

Accessibility & contrast

On white

5.85
#5451DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5451DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5451DC#FFFFFF#000000##FFFFFF
##5451DC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5451dc;
/* rgb */ color: rgb(84, 81, 220);
/* oklch */ color: oklch(52.3% 0.206 277.5);
Tailwind
colors: {
  custom: {
    50: '#9282e8',
    500: '#5451dc',
    950: '#000000',
  },
}
SCSS
$custom: #5451dc;
$custom-light: #9282e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5451dc",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 241.295,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.20564,
    "h": 277.5
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#5451DC
secondary
#DFE0A9
accent
#E93EE6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5451DC

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

Preview Lab → · Contrast checker → · Palette generator →

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