#574E87#574E87

#574E87 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.9% C 0.091 H 289.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#574E87
RGBrgb(87, 78, 135)
HSLhsl(249, 27%, 42%)
HSVhsv(249, 42%, 53%)
CMYKcmyk(35.6%, 42.2%, 0%, 47.1%)
CIE-LABlab(36.41, 17.95, -30.64)
CIE-LCHlch(36.41, 35.51, 300.36°)
OKLaboklab(45.89% 0.0305 -0.086)
OKLCHoklch(45.89% 0.091 289.6)
XYZxyz(11.0269, 9.2240, 24.1164)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574E87 #7E874E
analogous
#4E6287 #574E87 #744E87
triadic
#574E87 #87574E #4E8757
tetradic
#574E87 #874E62 #7E874E #4E8774
square
#574E87 #874E62 #7E874E #4E8774
split-complementary
#574E87 #87744E #62874E
monochromatic
#252139 #3E3860 #574E87 #746AA9 #9890BF

Accessibility & contrast

On white

7.38
#574E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#574E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574E87
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574E87#FFFFFF#000000##FFFFFF
##574E871.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#4B5964
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #574e87;
/* rgb */ color: rgb(87, 78, 135);
/* oklch */ color: oklch(45.9% 0.091 289.6);
Tailwind
colors: {
  custom: {
    50: '#887faa',
    500: '#574e87',
    950: '#000000',
  },
}
SCSS
$custom: #574e87;
$custom-light: #887faa;
$custom-dark: #000000;
JSON
{
  "hex": "#574e87",
  "rgb": {
    "r": 87,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 249.474,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.09126,
    "h": 289.6
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#574E87
secondary
#A6AC85
accent
#C365B4
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #574E87

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

Preview Lab → · Contrast checker → · Palette generator →

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