#5451D8#5451D8

#5451D8 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.201 H 277.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5451D8
RGBrgb(84, 81, 216)
HSLhsl(241, 63%, 58%)
HSVhsv(241, 63%, 85%)
CMYKcmyk(61.1%, 62.5%, 0%, 15.3%)
CIE-LABlab(42.35, 40.80, -69.01)
CIE-LCHlch(42.35, 80.17, 300.59°)
OKLaboklab(51.98% 0.0272 -0.1987)
OKLCHoklch(51.98% 0.201 277.8)
XYZxyz(18.9893, 12.7261, 66.4081)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451D8 #D5D851
analogous
#5191D8 #5451D8 #9751D8
triadic
#5451D8 #D85451 #51D854
tetradic
#5451D8 #D85191 #D5D851 #51D897
square
#5451D8 #D85191 #D5D851 #51D897
split-complementary
#5451D8 #D89751 #91D851
monochromatic
#22208F #2E2BC1 #5451D8 #8583E3 #B6B5EE

Accessibility & contrast

On white

5.92
#5451D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5451D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451D8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451D8#FFFFFF#000000##FFFFFF
##5451D81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005ED5
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5451d8;
/* rgb */ color: rgb(84, 81, 216);
/* oklch */ color: oklch(52.0% 0.201 277.8);
Tailwind
colors: {
  custom: {
    50: '#9182e5',
    500: '#5451d8',
    950: '#000000',
  },
}
SCSS
$custom: #5451d8;
$custom-light: #9182e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5451d8",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 241.333,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.20055,
    "h": 277.8
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#5451D8
secondary
#DCDDA8
accent
#E641E3
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5451D8

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

Preview Lab → · Contrast checker → · Palette generator →

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