#4A4877#4A4877

#4A4877 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.5% C 0.077 H 284.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4A4877
RGBrgb(74, 72, 119)
HSLhsl(243, 25%, 37%)
HSVhsv(243, 39%, 47%)
CMYKcmyk(37.8%, 39.5%, 0%, 53.3%)
CIE-LABlab(32.75, 13.21, -26.59)
CIE-LCHlch(32.75, 29.69, 296.41°)
OKLaboklab(42.53% 0.0194 -0.0745)
OKLCHoklch(42.53% 0.077 284.6)
XYZxyz(8.4703, 7.4222, 18.4355)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4877 #757748
analogous
#485E77 #4A4877 #614877
triadic
#4A4877 #774A48 #48774A
tetradic
#4A4877 #77485E #757748 #487761
square
#4A4877 #77485E #757748 #487761
split-complementary
#4A4877 #776148 #5E7748
monochromatic
#1B1A2B #323151 #4A4877 #625F9D #8785B5

Accessibility & contrast

On white

8.45
#4A4877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A4877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4877
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4877#FFFFFF#000000##FFFFFF
##4A48771.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E79
Deuteranopia (green-blind)
#374C76
Tritanopia (blue-blind)
#3E515A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a4877;
/* rgb */ color: rgb(74, 72, 119);
/* oklch */ color: oklch(42.5% 0.077 284.6);
Tailwind
colors: {
  custom: {
    50: '#7e7b9e',
    500: '#4a4877',
    950: '#000000',
  },
}
SCSS
$custom: #4a4877;
$custom-light: #7e7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4877",
  "rgb": {
    "r": 74,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 242.553,
    "s": 24.607,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42534,
    "c": 0.07703,
    "h": 284.6
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#4A4877
secondary
#9FA17A
accent
#C167BD
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4A4877

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

Preview Lab → · Contrast checker → · Palette generator →

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