#574EA8#574EA8

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

Color values

HEX#574EA8
RGBrgb(87, 78, 168)
HSLhsl(246, 37%, 48%)
HSVhsv(246, 54%, 66%)
CMYKcmyk(48.2%, 53.6%, 0%, 34.1%)
CIE-LABlab(38.38, 27.90, -47.43)
CIE-LCHlch(38.38, 55.03, 300.47°)
OKLaboklab(48.01% 0.0346 -0.1352)
OKLCHoklch(48.01% 0.14 284.4)
XYZxyz(13.7207, 10.3015, 38.3036)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574EA8 #9FA84E
analogous
#4E72A8 #574EA8 #844EA8
triadic
#574EA8 #A8574E #4EA857
tetradic
#574EA8 #A84E72 #9FA84E #4EA884
square
#574EA8 #A84E72 #9FA84E #4EA884
split-complementary
#574EA8 #A8844E #72A84E
monochromatic
#2C2754 #413B7E #574EA8 #7C75BF #A39ED2

Accessibility & contrast

On white

6.86
#574EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#574EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #574EA8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574EA8#FFFFFF#000000##FFFFFF
##574EA81.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAB
Deuteranopia (green-blind)
#1C58A6
Tritanopia (blue-blind)
#3B6273
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #574ea8;
/* rgb */ color: rgb(87, 78, 168);
/* oklch */ color: oklch(48.0% 0.140 284.4);
Tailwind
colors: {
  custom: {
    50: '#8c7fc2',
    500: '#574ea8',
    950: '#000000',
  },
}
SCSS
$custom: #574ea8;
$custom-light: #8c7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#574ea8",
  "rgb": {
    "r": 87,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 246,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.13952,
    "h": 284.4
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#574EA8
secondary
#BBBF93
accent
#CD5BC1
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #574EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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