#5454DC#5454DC

#5454DC is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.8% C 0.202 H 276.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5454DC
RGBrgb(84, 84, 220)
HSLhsl(240, 66%, 60%)
HSVhsv(240, 62%, 86%)
CMYKcmyk(61.8%, 61.8%, 0%, 13.7%)
CIE-LABlab(43.35, 40.30, -69.67)
CIE-LCHlch(43.35, 80.48, 300.05°)
OKLaboklab(52.81% 0.0245 -0.2006)
OKLCHoklch(52.81% 0.202 276.9)
XYZxyz(19.7406, 13.3912, 69.2408)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454DC #DCDC54
analogous
#5498DC #5454DC #9854DC
triadic
#5454DC #DC5454 #54DC54
tetradic
#5454DC #DC5498 #DCDC54 #54DC98
square
#5454DC #DC5498 #DCDC54 #54DC98
split-complementary
#5454DC #DC9854 #98DC54
monochromatic
#1F1F97 #2929CA #5454DC #8787E6 #BABAF1

Accessibility & contrast

On white

5.71
#5454DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5454DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454DC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454DC#FFFFFF#000000##FFFFFF
##5454DC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5454dc;
/* rgb */ color: rgb(84, 84, 220);
/* oklch */ color: oklch(52.8% 0.202 276.9);
Tailwind
colors: {
  custom: {
    50: '#9284e8',
    500: '#5454dc',
    950: '#000000',
  },
}
SCSS
$custom: #5454dc;
$custom-light: #9284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5454dc",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.20207,
    "h": 276.9
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#5454DC
secondary
#E0E0AC
accent
#E93FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5454DC

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

Preview Lab → · Contrast checker → · Palette generator →

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