#5454E5#5454E5

#5454E5 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.214 H 276.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5454E5
RGBrgb(84, 84, 229)
HSLhsl(240, 74%, 61%)
HSVhsv(240, 63%, 90%)
CMYKcmyk(63.3%, 63.3%, 0%, 10.2%)
CIE-LABlab(44.06, 43.22, -73.61)
CIE-LCHlch(44.06, 85.36, 300.42°)
OKLaboklab(53.55% 0.0239 -0.2122)
OKLCHoklch(53.55% 0.214 276.4)
XYZxyz(20.9647, 13.8809, 75.6880)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454E5 #E5E554
analogous
#549DE5 #5454E5 #9D54E5
triadic
#5454E5 #E55454 #54E554
tetradic
#5454E5 #E5549D #E5E554 #54E59D
square
#5454E5 #E5549D #E5E554 #54E59D
split-complementary
#5454E5 #E59D54 #9DE554
monochromatic
#1919A5 #2121DB #5454E5 #8989ED #BEBEF5

Accessibility & contrast

On white

5.56
#5454E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5454E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454E5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454E5#FFFFFF#000000##FFFFFF
##5454E51.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5454e5;
/* rgb */ color: rgb(84, 84, 229);
/* oklch */ color: oklch(53.6% 0.214 276.4);
Tailwind
colors: {
  custom: {
    50: '#9484ee',
    500: '#5454e5',
    950: '#000000',
  },
}
SCSS
$custom: #5454e5;
$custom-light: #9484ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5454e5",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.21352,
    "h": 276.4
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#5454E5
secondary
#E6E6AF
accent
#D610D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5454E5

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

Preview Lab → · Contrast checker → · Palette generator →

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