#574C98#574C98

#574C98 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.5% C 0.120 H 287.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#574C98
RGBrgb(87, 76, 152)
HSLhsl(249, 33%, 45%)
HSVhsv(249, 50%, 60%)
CMYKcmyk(42.8%, 50%, 0%, 40.4%)
CIE-LABlab(36.86, 24.25, -40.27)
CIE-LCHlch(36.86, 47.01, 301.05°)
OKLaboklab(46.54% 0.0359 -0.1141)
OKLCHoklch(46.54% 0.12 287.4)
XYZxyz(12.1808, 9.4617, 30.8842)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574C98 #8D984C
analogous
#4C6798 #574C98 #7D4C98
triadic
#574C98 #98574C #4C9857
tetradic
#574C98 #984C67 #8D984C #4C987D
square
#574C98 #984C67 #8D984C #4C987D
split-complementary
#574C98 #987D4C #67984C
monochromatic
#282346 #40386F #574C98 #766CB5 #9C95CA

Accessibility & contrast

On white

7.26
#574C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#574C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574C98
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574C98#FFFFFF#000000##FFFFFF
##574C981.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599B
Deuteranopia (green-blind)
#2C5596
Tritanopia (blue-blind)
#445C6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #574c98;
/* rgb */ color: rgb(87, 76, 152);
/* oklch */ color: oklch(46.5% 0.120 287.4);
Tailwind
colors: {
  custom: {
    50: '#8a7eb7',
    500: '#574c98',
    950: '#000000',
  },
}
SCSS
$custom: #574c98;
$custom-light: #8a7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#574c98",
  "rgb": {
    "r": 87,
    "g": 76,
    "b": 152
  },
  "hsl": {
    "h": 248.684,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.11966,
    "h": 287.4
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#574C98
secondary
#B0B68A
accent
#C95EBA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #574C98

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

Preview Lab → · Contrast checker → · Palette generator →

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