#5454CA#5454CA

#5454CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.179 H 278.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5454CA
RGBrgb(84, 84, 202)
HSLhsl(240, 53%, 56%)
HSVhsv(240, 58%, 79%)
CMYKcmyk(58.4%, 58.4%, 0%, 20.8%)
CIE-LABlab(41.98, 34.44, -61.55)
CIE-LCHlch(41.98, 70.53, 299.23°)
OKLaboklab(51.38% 0.0251 -0.1767)
OKLCHoklch(51.38% 0.179 278.1)
XYZxyz(17.4837, 12.4885, 57.3549)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454CA #CACA54
analogous
#548FCA #5454CA #8F54CA
triadic
#5454CA #CA5454 #54CA54
tetradic
#5454CA #CA548F #CACA54 #54CA8F
square
#5454CA #CA548F #CACA54 #54CA8F
split-complementary
#5454CA #CA8F54 #8FCA54
monochromatic
#27277D #3535AC #5454CA #8383D8 #B1B1E7

Accessibility & contrast

On white

6.00
#5454CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5454CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454CA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454CA#FFFFFF#000000##FFFFFF
##5454CA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5454ca;
/* rgb */ color: rgb(84, 84, 202);
/* oklch */ color: oklch(51.4% 0.179 278.1);
Tailwind
colors: {
  custom: {
    50: '#8f84db',
    500: '#5454ca',
    950: '#000000',
  },
}
SCSS
$custom: #5454ca;
$custom-light: #8f84db;
$custom-dark: #000000;
JSON
{
  "hex": "#5454ca",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.17852,
    "h": 278.1
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#5454CA
secondary
#D5D5A5
accent
#DC4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5454CA

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

Preview Lab → · Contrast checker → · Palette generator →

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