#5454C8#5454C8

#5454C8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.176 H 278.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5454C8
RGBrgb(84, 84, 200)
HSLhsl(240, 51%, 56%)
HSVhsv(240, 58%, 78%)
CMYKcmyk(58%, 58%, 0%, 21.6%)
CIE-LABlab(41.84, 33.78, -60.63)
CIE-LCHlch(41.84, 69.41, 299.13°)
OKLaboklab(51.22% 0.0251 -0.174)
OKLCHoklch(51.22% 0.176 278.2)
XYZxyz(17.2485, 12.3944, 56.1158)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454C8 #C8C854
analogous
#548EC8 #5454C8 #8E54C8
triadic
#5454C8 #C85454 #54C854
tetradic
#5454C8 #C8548E #C8C854 #54C88E
square
#5454C8 #C8548E #C8C854 #54C88E
split-complementary
#5454C8 #C88E54 #8EC854
monochromatic
#27277A #3636A9 #5454C8 #8282D7 #B1B1E6

Accessibility & contrast

On white

6.04
#5454C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5454C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454C8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454C8#FFFFFF#000000##FFFFFF
##5454C81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#047086
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5454c8;
/* rgb */ color: rgb(84, 84, 200);
/* oklch */ color: oklch(51.2% 0.176 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f84d9',
    500: '#5454c8',
    950: '#000000',
  },
}
SCSS
$custom: #5454c8;
$custom-light: #8f84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5454c8",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.17585,
    "h": 278.2
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#5454C8
secondary
#D4D4A4
accent
#DB4DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5454C8

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

Preview Lab → · Contrast checker → · Palette generator →

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