#4A477E#4A477E

#4A477E is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.090 H 284.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4A477E
RGBrgb(74, 71, 126)
HSLhsl(243, 28%, 39%)
HSVhsv(243, 44%, 49%)
CMYKcmyk(41.3%, 43.7%, 0%, 50.6%)
CIE-LABlab(32.85, 15.99, -30.80)
CIE-LCHlch(32.85, 34.70, 297.45°)
OKLaboklab(42.74% 0.0223 -0.0868)
OKLCHoklch(42.74% 0.09 284.4)
XYZxyz(8.8421, 7.4684, 20.7103)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A477E #7B7E47
analogous
#475F7E #4A477E #65477E
triadic
#4A477E #7E4A47 #477E4A
tetradic
#4A477E #7E475F #7B7E47 #477E65
square
#4A477E #7E475F #7B7E47 #477E65
split-complementary
#4A477E #7E6547 #5F7E47
monochromatic
#1C1B30 #333157 #4A477E #625EA4 #8885BA

Accessibility & contrast

On white

8.42
#4A477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4A477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A477E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A477E#FFFFFF#000000##FFFFFF
##4A477E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#3B525C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a477e;
/* rgb */ color: rgb(74, 71, 126);
/* oklch */ color: oklch(42.7% 0.090 284.4);
Tailwind
colors: {
  custom: {
    50: '#7f7aa3',
    500: '#4a477e',
    950: '#000000',
  },
}
SCSS
$custom: #4a477e;
$custom-light: #7f7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a477e",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 243.273,
    "s": 27.919,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42736,
    "c": 0.0896,
    "h": 284.4
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#4A477E
secondary
#A4A67B
accent
#C464BF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4A477E

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

Preview Lab → · Contrast checker → · Palette generator →

#4A477E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva