#5454CC#5454CC

#5454CC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.181 H 277.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5454CC
RGBrgb(84, 84, 204)
HSLhsl(240, 54%, 56%)
HSVhsv(240, 59%, 80%)
CMYKcmyk(58.8%, 58.8%, 0%, 20%)
CIE-LABlab(42.13, 35.09, -62.47)
CIE-LCHlch(42.13, 71.65, 299.32°)
OKLaboklab(51.53% 0.0251 -0.1794)
OKLCHoklch(51.53% 0.181 277.9)
XYZxyz(17.7221, 12.5838, 58.6101)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454CC #CCCC54
analogous
#5490CC #5454CC #9054CC
triadic
#5454CC #CC5454 #54CC54
tetradic
#5454CC #CC5490 #CCCC54 #54CC90
square
#5454CC #CC5490 #CCCC54 #54CC90
split-complementary
#5454CC #CC9054 #90CC54
monochromatic
#262680 #3434AF #5454CC #8383DA #B2B2E8

Accessibility & contrast

On white

5.97
#5454CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5454CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454CC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454CC#FFFFFF#000000##FFFFFF
##5454CC1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5454cc;
/* rgb */ color: rgb(84, 84, 204);
/* oklch */ color: oklch(51.5% 0.181 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f84dc',
    500: '#5454cc',
    950: '#000000',
  },
}
SCSS
$custom: #5454cc;
$custom-light: #8f84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5454cc",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.18119,
    "h": 277.9
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#5454CC
secondary
#D7D7A5
accent
#DD4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5454CC

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

Preview Lab → · Contrast checker → · Palette generator →

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