#574E95#574E95

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

Color values

HEX#574E95
RGBrgb(87, 78, 149)
HSLhsl(248, 31%, 45%)
HSVhsv(248, 48%, 58%)
CMYKcmyk(41.6%, 47.7%, 0%, 41.6%)
CIE-LABlab(37.20, 22.08, -37.92)
CIE-LCHlch(37.20, 43.88, 300.21°)
OKLaboklab(46.74% 0.0329 -0.1072)
OKLCHoklch(46.74% 0.112 287)
XYZxyz(12.0782, 9.6445, 29.6531)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574E95 #8C954E
analogous
#4E6895 #574E95 #7B4E95
triadic
#574E95 #95574E #4E9557
tetradic
#574E95 #954E68 #8C954E #4E957B
square
#574E95 #954E68 #8C954E #4E957B
split-complementary
#574E95 #957B4E #68954E
monochromatic
#282445 #40396D #574E95 #766DB3 #9C96C8

Accessibility & contrast

On white

7.17
#574E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#574E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574E95
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574E95#FFFFFF#000000##FFFFFF
##574E951.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335998
Deuteranopia (green-blind)
#325693
Tritanopia (blue-blind)
#455C6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #574e95;
/* rgb */ color: rgb(87, 78, 149);
/* oklch */ color: oklch(46.7% 0.112 287.0);
Tailwind
colors: {
  custom: {
    50: '#8a7fb4',
    500: '#574e95',
    950: '#000000',
  },
}
SCSS
$custom: #574e95;
$custom-light: #8a7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#574e95",
  "rgb": {
    "r": 87,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 247.606,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.11217,
    "h": 287
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#574E95
secondary
#AFB48A
accent
#C760BA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #574E95

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

Preview Lab → · Contrast checker → · Palette generator →

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