#554C98#554C98

#554C98 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.4% C 0.120 H 286.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#554C98
RGBrgb(85, 76, 152)
HSLhsl(247, 33%, 45%)
HSVhsv(247, 50%, 60%)
CMYKcmyk(44.1%, 50%, 0%, 40.4%)
CIE-LABlab(36.68, 23.74, -40.57)
CIE-LCHlch(36.68, 47.00, 300.33°)
OKLaboklab(46.37% 0.0333 -0.1151)
OKLCHoklch(46.37% 0.12 286.1)
XYZxyz(11.9966, 9.3667, 30.8755)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554C98 #8F984C
analogous
#4C6998 #554C98 #7B4C98
triadic
#554C98 #98554C #4C9855
tetradic
#554C98 #984C69 #8F984C #4C987B
square
#554C98 #984C69 #8F984C #4C987B
split-complementary
#554C98 #987B4C #69984C
monochromatic
#272346 #3E386F #554C98 #756CB5 #9B95CA

Accessibility & contrast

On white

7.31
#554C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#554C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554C98
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554C98#FFFFFF#000000##FFFFFF
##554C981.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#2B5496
Tritanopia (blue-blind)
#415C6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #554c98;
/* rgb */ color: rgb(85, 76, 152);
/* oklch */ color: oklch(46.4% 0.120 286.1);
Tailwind
colors: {
  custom: {
    50: '#897eb7',
    500: '#554c98',
    950: '#000000',
  },
}
SCSS
$custom: #554c98;
$custom-light: #897eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#554c98",
  "rgb": {
    "r": 85,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 247.105,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46366,
    "c": 0.1198,
    "h": 286.1
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#554C98
secondary
#B1B68A
accent
#C95EBD
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #554C98

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

Preview Lab → · Contrast checker → · Palette generator →

#554C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva