#554D97#554D97

#554D97 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.5% C 0.117 H 285.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#554D97
RGBrgb(85, 77, 151)
HSLhsl(246, 32%, 45%)
HSVhsv(246, 49%, 59%)
CMYKcmyk(43.7%, 49%, 0%, 40.8%)
CIE-LABlab(36.88, 22.80, -39.65)
CIE-LCHlch(36.88, 45.73, 299.90°)
OKLaboklab(46.5% 0.0319 -0.1124)
OKLCHoklch(46.5% 0.117 285.8)
XYZxyz(11.9845, 9.4729, 30.4692)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554D97 #8F974D
analogous
#4D6A97 #554D97 #7A4D97
triadic
#554D97 #97554D #4D9755
tetradic
#554D97 #974D6A #8F974D #4D977A
square
#554D97 #974D6A #8F974D #4D977A
split-complementary
#554D97 #977A4D #6A974D
monochromatic
#272446 #3E386E #554D97 #756DB4 #9B95C9

Accessibility & contrast

On white

7.25
#554D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#554D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554D97
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554D97#FFFFFF#000000##FFFFFF
##554D971.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#2D5595
Tritanopia (blue-blind)
#415C6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #554d97;
/* rgb */ color: rgb(85, 77, 151);
/* oklch */ color: oklch(46.5% 0.117 285.8);
Tailwind
colors: {
  custom: {
    50: '#897fb6',
    500: '#554d97',
    950: '#000000',
  },
}
SCSS
$custom: #554d97;
$custom-light: #897fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#554d97",
  "rgb": {
    "r": 85,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 246.486,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.11681,
    "h": 285.8
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #554D97

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

Preview Lab → · Contrast checker → · Palette generator →

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