#4A4C8D#4A4C8D

#4A4C8D is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.7% C 0.105 H 279.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4A4C8D
RGBrgb(74, 76, 141)
HSLhsl(238, 31%, 42%)
HSVhsv(238, 48%, 55%)
CMYKcmyk(47.5%, 46.1%, 0%, 44.7%)
CIE-LABlab(35.10, 17.47, -36.46)
CIE-LCHlch(35.10, 40.43, 295.60°)
OKLaboklab(44.73% 0.0181 -0.1033)
OKLCHoklch(44.73% 0.105 279.9)
XYZxyz(10.2147, 8.5473, 26.3057)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4C8D #8D8B4A
analogous
#4A6E8D #4A4C8D #6A4A8D
triadic
#4A4C8D #8D4A4C #4C8D4A
tetradic
#4A4C8D #8D4A6E #8D8B4A #4A8D6A
square
#4A4C8D #8D4A6E #8D8B4A #4A8D6A
split-complementary
#4A4C8D #8D6A4A #6E8D4A
monochromatic
#20213D #353665 #4A4C8D #6668AF #8E8FC4

Accessibility & contrast

On white

7.75
#4A4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4A4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4C8D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4C8D#FFFFFF#000000##FFFFFF
##4A4C8D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#335A65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a4c8d;
/* rgb */ color: rgb(74, 76, 141);
/* oklch */ color: oklch(44.7% 0.105 279.9);
Tailwind
colors: {
  custom: {
    50: '#817eaf',
    500: '#4a4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4a4c8d;
$custom-light: #817eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4c8d",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 238.209,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44726,
    "c": 0.10491,
    "h": 279.9
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#4A4C8D
secondary
#B0AE83
accent
#C460C7
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4A4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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