#554F98#554F98

#554F98 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 47.0% C 0.115 H 284.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#554F98
RGBrgb(85, 79, 152)
HSLhsl(245, 32%, 45%)
HSVhsv(245, 48%, 60%)
CMYKcmyk(44.1%, 48%, 0%, 40.4%)
CIE-LABlab(37.46, 21.83, -39.32)
CIE-LCHlch(37.46, 44.97, 299.04°)
OKLaboklab(46.95% 0.0294 -0.1114)
OKLCHoklch(46.95% 0.115 284.8)
XYZxyz(12.2082, 9.7898, 30.9460)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554F98 #92984F
analogous
#4F6D98 #554F98 #7A4F98
triadic
#554F98 #98554F #4F9855
tetradic
#554F98 #984F6D #92984F #4F987A
square
#554F98 #984F6D #92984F #4F987A
split-complementary
#554F98 #987A4F #6D984F
monochromatic
#282547 #3E3A70 #554F98 #7570B5 #9C98C9

Accessibility & contrast

On white

7.10
#554F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#554F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554F98
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554F98#FFFFFF#000000##FFFFFF
##554F981.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#305696
Tritanopia (blue-blind)
#405E6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #554f98;
/* rgb */ color: rgb(85, 79, 152);
/* oklch */ color: oklch(47.0% 0.115 284.8);
Tailwind
colors: {
  custom: {
    50: '#8980b7',
    500: '#554f98',
    950: '#000000',
  },
}
SCSS
$custom: #554f98;
$custom-light: #8980b7;
$custom-dark: #000000;
JSON
{
  "hex": "#554f98",
  "rgb": {
    "r": 85,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 244.932,
    "s": 31.602,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.11521,
    "h": 284.8
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#554F98
secondary
#B3B68D
accent
#C860BF
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #554F98

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

Preview Lab → · Contrast checker → · Palette generator →

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