#5451EB#5451EB

#5451EB is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.224 H 276.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5451EB
RGBrgb(84, 81, 235)
HSLhsl(241, 79%, 62%)
HSVhsv(241, 66%, 92%)
CMYKcmyk(64.3%, 65.5%, 0%, 7.8%)
CIE-LABlab(43.90, 46.90, -77.28)
CIE-LCHlch(43.90, 90.40, 301.25°)
OKLaboklab(53.59% 0.0256 -0.2229)
OKLCHoklch(53.59% 0.224 276.5)
XYZxyz(21.5891, 13.7660, 80.1006)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5451EB #E8EB51
analogous
#519BEB #5451EB #A151EB
triadic
#5451EB #EB5451 #51EB54
tetradic
#5451EB #EB519B #E8EB51 #51EBA1
square
#5451EB #EB519B #E8EB51 #51EBA1
split-complementary
#5451EB #EBA151 #9BEB51
monochromatic
#1714AE #1E1AE5 #5451EB #8A88F1 #C0BFF8

Accessibility & contrast

On white

5.59
#5451EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5451EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5451EB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5451EB#FFFFFF#000000##FFFFFF
##5451EB1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5451eb;
/* rgb */ color: rgb(84, 81, 235);
/* oklch */ color: oklch(53.6% 0.224 276.5);
Tailwind
colors: {
  custom: {
    50: '#9583f3',
    500: '#5451eb',
    950: '#000000',
  },
}
SCSS
$custom: #5451eb;
$custom-light: #9583f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5451eb",
  "rgb": {
    "r": 84,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 241.169,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.2244,
    "h": 276.5
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#5451EB
secondary
#E7E8B0
accent
#DC0AD8
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5451EB

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

Preview Lab → · Contrast checker → · Palette generator →

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