#4B477F#4B477F

#4B477F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.9% C 0.091 H 285.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4B477F
RGBrgb(75, 71, 127)
HSLhsl(244, 28%, 39%)
HSVhsv(244, 44%, 50%)
CMYKcmyk(40.9%, 44.1%, 0%, 50.2%)
CIE-LABlab(32.99, 16.59, -31.18)
CIE-LCHlch(32.99, 35.32, 298.01°)
OKLaboklab(42.89% 0.0238 -0.0879)
OKLCHoklch(42.89% 0.091 285.1)
XYZxyz(8.9846, 7.5343, 21.0554)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B477F #7B7F47
analogous
#475F7F #4B477F #67477F
triadic
#4B477F #7F4B47 #477F4B
tetradic
#4B477F #7F475F #7B7F47 #477F67
square
#4B477F #7F475F #7B7F47 #477F67
split-complementary
#4B477F #7F6747 #5F7F47
monochromatic
#1D1B30 #343158 #4B477F #635EA5 #8985BB

Accessibility & contrast

On white

8.38
#4B477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B477F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B477F#FFFFFF#000000##FFFFFF
##4B477F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F81
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#3C525D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b477f;
/* rgb */ color: rgb(75, 71, 127);
/* oklch */ color: oklch(42.9% 0.091 285.1);
Tailwind
colors: {
  custom: {
    50: '#807aa4',
    500: '#4b477f',
    950: '#000000',
  },
}
SCSS
$custom: #4b477f;
$custom-light: #807aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b477f",
  "rgb": {
    "r": 75,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 244.286,
    "s": 28.283,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.09104,
    "h": 285.1
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#4B477F
secondary
#A4A77B
accent
#C563BE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4B477F

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

Preview Lab → · Contrast checker → · Palette generator →

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