#4F477E#4F477E

#4F477E is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.2% C 0.089 H 288.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4F477E
RGBrgb(79, 71, 126)
HSLhsl(249, 28%, 39%)
HSVhsv(249, 44%, 49%)
CMYKcmyk(37.3%, 43.7%, 0%, 50.6%)
CIE-LABlab(33.30, 17.44, -30.06)
CIE-LCHlch(33.30, 34.75, 300.12°)
OKLaboklab(43.19% 0.0287 -0.0845)
OKLCHoklch(43.19% 0.089 288.8)
XYZxyz(9.2426, 7.6748, 20.7290)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F477E #767E47
analogous
#475A7E #4F477E #6A477E
triadic
#4F477E #7E4F47 #477E4F
tetradic
#4F477E #7E475A #767E47 #477E6A
square
#4F477E #7E475A #767E47 #477E6A
split-complementary
#4F477E #7E6A47 #5A7E47
monochromatic
#1E1B30 #363157 #4F477E #685EA4 #8D85BA

Accessibility & contrast

On white

8.28
#4F477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F477E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F477E#FFFFFF#000000##FFFFFF
##4F477E1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F80
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#43515C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f477e;
/* rgb */ color: rgb(79, 71, 126);
/* oklch */ color: oklch(43.2% 0.089 288.8);
Tailwind
colors: {
  custom: {
    50: '#827aa3',
    500: '#4f477e',
    950: '#000000',
  },
}
SCSS
$custom: #4f477e;
$custom-light: #827aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f477e",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 248.727,
    "s": 27.919,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.08926,
    "h": 288.8
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#4F477E
secondary
#A0A67B
accent
#C464B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4F477E

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

Preview Lab → · Contrast checker → · Palette generator →

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