#5454E8#5454E8

#5454E8 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.8% C 0.217 H 276.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5454E8
RGBrgb(84, 84, 232)
HSLhsl(240, 76%, 62%)
HSVhsv(240, 64%, 91%)
CMYKcmyk(63.8%, 63.8%, 0%, 9%)
CIE-LABlab(44.30, 44.19, -74.91)
CIE-LCHlch(44.30, 86.97, 300.53°)
OKLaboklab(53.81% 0.0236 -0.216)
OKLCHoklch(53.81% 0.217 276.2)
XYZxyz(21.3872, 14.0499, 77.9131)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454E8 #E8E854
analogous
#549EE8 #5454E8 #9E54E8
triadic
#5454E8 #E85454 #54E854
tetradic
#5454E8 #E8549E #E8E854 #54E89E
square
#5454E8 #E8549E #E8E854 #54E89E
split-complementary
#5454E8 #E89E54 #9EE854
monochromatic
#1717AB #1E1EE1 #5454E8 #8A8AEF #C0C0F7

Accessibility & contrast

On white

5.51
#5454E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5454E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454E8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454E8#FFFFFF#000000##FFFFFF
##5454E81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0062E5
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5454e8;
/* rgb */ color: rgb(84, 84, 232);
/* oklch */ color: oklch(53.8% 0.217 276.2);
Tailwind
colors: {
  custom: {
    50: '#9485f0',
    500: '#5454e8',
    950: '#000000',
  },
}
SCSS
$custom: #5454e8;
$custom-light: #9485f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5454e8",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.21729,
    "h": 276.2
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#5454E8
secondary
#E7E7B1
accent
#D80DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5454E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5454E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva