#5454A2#5454A2

#5454A2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.123 H 280.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5454A2
RGBrgb(84, 84, 162)
HSLhsl(240, 32%, 48%)
HSVhsv(240, 48%, 64%)
CMYKcmyk(48.1%, 48.1%, 0%, 36.5%)
CIE-LABlab(39.30, 21.53, -42.39)
CIE-LCHlch(39.30, 47.54, 296.92°)
OKLaboklab(48.51% 0.023 -0.1204)
OKLCHoklch(48.51% 0.123 280.8)
XYZxyz(13.3461, 10.8334, 35.5632)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5454A2 #A2A254
analogous
#547BA2 #5454A2 #7B54A2
triadic
#5454A2 #A25454 #54A254
tetradic
#5454A2 #A2547B #A2A254 #54A27B
square
#5454A2 #A2547B #A2A254 #54A27B
split-complementary
#5454A2 #A27B54 #7BA254
monochromatic
#2A2A51 #3F3F7A #5454A2 #7979BA #A2A2CF

Accessibility & contrast

On white

6.63
#5454A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5454A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5454A2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5454A2#FFFFFF#000000##FFFFFF
##5454A21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#386573
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5454a2;
/* rgb */ color: rgb(84, 84, 162);
/* oklch */ color: oklch(48.5% 0.123 280.8);
Tailwind
colors: {
  custom: {
    50: '#8984be',
    500: '#5454a2',
    950: '#000000',
  },
}
SCSS
$custom: #5454a2;
$custom-light: #8984be;
$custom-dark: #000000;
JSON
{
  "hex": "#5454a2",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48514,
    "c": 0.12259,
    "h": 280.8
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#5454A2
secondary
#BCBC96
accent
#C860C8
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #5454A2

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

Preview Lab → · Contrast checker → · Palette generator →

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