#574DAB#574DAB

#574DAB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.145 H 284.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#574DAB
RGBrgb(87, 77, 171)
HSLhsl(246, 38%, 49%)
HSVhsv(246, 55%, 67%)
CMYKcmyk(49.1%, 55%, 0%, 32.9%)
CIE-LABlab(38.33, 29.46, -49.29)
CIE-LCHlch(38.33, 57.42, 300.86°)
OKLaboklab(48.03% 0.0359 -0.1406)
OKLCHoklch(48.03% 0.145 284.3)
XYZxyz(13.9329, 10.2736, 39.7690)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574DAB #A1AB4D
analogous
#4D72AB #574DAB #864DAB
triadic
#574DAB #AB574D #4DAB57
tetradic
#574DAB #AB4D72 #A1AB4D #4DAB86
square
#574DAB #AB4D72 #A1AB4D #4DAB86
split-complementary
#574DAB #AB864D #72AB4D
monochromatic
#2C2757 #423A81 #574DAB #7D75C1 #A49FD4

Accessibility & contrast

On white

6.87
#574DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#574DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #574DAB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574DAB#FFFFFF#000000##FFFFFF
##574DAB1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAE
Deuteranopia (green-blind)
#1257A9
Tritanopia (blue-blind)
#396274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #574dab;
/* rgb */ color: rgb(87, 77, 171);
/* oklch */ color: oklch(48.0% 0.145 284.3);
Tailwind
colors: {
  custom: {
    50: '#8c7fc5',
    500: '#574dab',
    950: '#000000',
  },
}
SCSS
$custom: #574dab;
$custom-light: #8c7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#574dab",
  "rgb": {
    "r": 87,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 246.383,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48033,
    "c": 0.14517,
    "h": 284.3
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#574DAB
secondary
#BCC093
accent
#CE5AC2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #574DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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