#5451E4#5451E4

#5451E4 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.216 H 277.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5451E4
RGBrgb(84, 81, 228)
HSLhsl(241, 73%, 61%)
HSVhsv(241, 64%, 89%)
CMYKcmyk(63.2%, 64.5%, 0%, 10.6%)
CIE-LABlab(43.31, 44.66, -74.27)
CIE-LCHlch(43.31, 86.66, 301.02°)
OKLaboklab(52.99% 0.0263 -0.2141)
OKLCHoklch(52.99% 0.216 277)
XYZxyz(20.5976, 13.3694, 74.8789)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451E4 #E1E451
analogous
#5198E4 #5451E4 #9D51E4
triadic
#5451E4 #E45451 #51E454
tetradic
#5451E4 #E45198 #E1E451 #51E49D
square
#5451E4 #E45198 #E1E451 #51E49D
split-complementary
#5451E4 #E49D51 #98E451
monochromatic
#1C19A2 #2521D7 #5451E4 #8886EC #BCBBF4

Accessibility & contrast

On white

5.72
#5451E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5451E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451E4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451E4#FFFFFF#000000##FFFFFF
##5451E41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5451e4;
/* rgb */ color: rgb(84, 81, 228);
/* oklch */ color: oklch(53.0% 0.216 277.0);
Tailwind
colors: {
  custom: {
    50: '#9482ee',
    500: '#5451e4',
    950: '#000000',
  },
}
SCSS
$custom: #5451e4;
$custom-light: #9482ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5451e4",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 241.224,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.21571,
    "h": 277
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#5451E4
secondary
#E3E4AC
accent
#D510D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5451E4

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

Preview Lab → · Contrast checker → · Palette generator →

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