#574D97#574D97

#574D97 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.7% C 0.117 H 287.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#574D97
RGBrgb(87, 77, 151)
HSLhsl(248, 32%, 45%)
HSVhsv(248, 49%, 59%)
CMYKcmyk(42.4%, 49%, 0%, 40.8%)
CIE-LABlab(37.06, 23.32, -39.35)
CIE-LCHlch(37.06, 45.74, 300.64°)
OKLaboklab(46.67% 0.0345 -0.1115)
OKLCHoklch(46.67% 0.117 287.2)
XYZxyz(12.1687, 9.5679, 30.4778)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574D97 #8D974D
analogous
#4D6897 #574D97 #7C4D97
triadic
#574D97 #97574D #4D9757
tetradic
#574D97 #974D68 #8D974D #4D977C
square
#574D97 #974D68 #8D974D #4D977C
split-complementary
#574D97 #977C4D #68974D
monochromatic
#282446 #40386E #574D97 #766DB4 #9C95C9

Accessibility & contrast

On white

7.21
#574D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#574D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574D97
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574D97#FFFFFF#000000##FFFFFF
##574D971.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#2F5595
Tritanopia (blue-blind)
#445C6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #574d97;
/* rgb */ color: rgb(87, 77, 151);
/* oklch */ color: oklch(46.7% 0.117 287.2);
Tailwind
colors: {
  custom: {
    50: '#8a7fb6',
    500: '#574d97',
    950: '#000000',
  },
}
SCSS
$custom: #574d97;
$custom-light: #8a7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#574d97",
  "rgb": {
    "r": 87,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 248.108,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46671,
    "c": 0.11666,
    "h": 287.2
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #574D97

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

Preview Lab → · Contrast checker → · Palette generator →

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