#5451E7#5451E7

#5451E7 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.219 H 276.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5451E7
RGBrgb(84, 81, 231)
HSLhsl(241, 76%, 61%)
HSVhsv(241, 65%, 91%)
CMYKcmyk(63.6%, 64.9%, 0%, 9.4%)
CIE-LABlab(43.56, 45.62, -75.56)
CIE-LCHlch(43.56, 88.27, 301.12°)
OKLaboklab(53.24% 0.026 -0.2179)
OKLCHoklch(53.24% 0.219 276.8)
XYZxyz(21.0177, 13.5375, 77.0912)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451E7 #E4E751
analogous
#5199E7 #5451E7 #9F51E7
triadic
#5451E7 #E75451 #51E754
tetradic
#5451E7 #E75199 #E4E751 #51E79F
square
#5451E7 #E75199 #E4E751 #51E79F
split-complementary
#5451E7 #E79F51 #99E751
monochromatic
#1A17A7 #221EDC #5451E7 #8987EE #BEBDF6

Accessibility & contrast

On white

5.66
#5451E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5451E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451E7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451E7#FFFFFF#000000##FFFFFF
##5451E71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0060E4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5451e7;
/* rgb */ color: rgb(84, 81, 231);
/* oklch */ color: oklch(53.2% 0.219 276.8);
Tailwind
colors: {
  custom: {
    50: '#9482f0',
    500: '#5451e7',
    950: '#000000',
  },
}
SCSS
$custom: #5451e7;
$custom-light: #9482f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5451e7",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 241.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.21945,
    "h": 276.8
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#5451E7
secondary
#E5E6AE
accent
#D80ED4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #5451E7

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

Preview Lab → · Contrast checker → · Palette generator →

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