#54549F#54549F

#54549F is a mid, moderate blue. Relative luminance 0.107; OKLCH L 48.3% C 0.118 H 281.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#54549F
RGBrgb(84, 84, 159)
HSLhsl(240, 31%, 48%)
HSVhsv(240, 47%, 62%)
CMYKcmyk(47.2%, 47.2%, 0%, 37.6%)
CIE-LABlab(39.12, 20.58, -40.89)
CIE-LCHlch(39.12, 45.77, 296.72°)
OKLaboklab(48.32% 0.0226 -0.116)
OKLCHoklch(48.32% 0.118 281)
XYZxyz(13.0826, 10.7280, 34.1755)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54549F #9F9F54
analogous
#54799F #54549F #79549F
triadic
#54549F #9F5454 #549F54
tetradic
#54549F #9F5479 #9F9F54 #549F79
square
#54549F #9F5479 #9F9F54 #549F79
split-complementary
#54549F #9F7954 #799F54
monochromatic
#2A2A4F #3F3F77 #54549F #7878B8 #A0A0CD

Accessibility & contrast

On white

6.68
#54549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#54549F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54549F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54549F#FFFFFF#000000##FFFFFF
##54549F1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#3A6472
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #54549f;
/* rgb */ color: rgb(84, 84, 159);
/* oklch */ color: oklch(48.3% 0.118 281.0);
Tailwind
colors: {
  custom: {
    50: '#8984bc',
    500: '#54549f',
    950: '#000000',
  },
}
SCSS
$custom: #54549f;
$custom-light: #8984bc;
$custom-dark: #000000;
JSON
{
  "hex": "#54549f",
  "rgb": {
    "r": 84,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4832,
    "c": 0.11818,
    "h": 281
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#54549F
secondary
#BABA94
accent
#C761C7
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #54549F

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

Preview Lab → · Contrast checker → · Palette generator →

#54549F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva