#4A4C8A#4A4C8A

#4A4C8A is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.100 H 280.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4A4C8A
RGBrgb(74, 76, 138)
HSLhsl(238, 30%, 42%)
HSVhsv(238, 46%, 54%)
CMYKcmyk(46.4%, 44.9%, 0%, 45.9%)
CIE-LABlab(34.92, 16.51, -34.91)
CIE-LCHlch(34.92, 38.62, 295.31°)
OKLaboklab(44.54% 0.0176 -0.0988)
OKLCHoklch(44.54% 0.1 280.1)
XYZxyz(9.9946, 8.4592, 25.1460)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4C8A #8A884A
analogous
#4A6C8A #4A4C8A #684A8A
triadic
#4A4C8A #8A4A4C #4C8A4A
tetradic
#4A4C8A #8A4A6C #8A884A #4A8A68
square
#4A4C8A #8A4A6C #8A884A #4A8A68
split-complementary
#4A4C8A #8A684A #6C8A4A
monochromatic
#1F203A #353662 #4A4C8A #6567AC #8D8EC2

Accessibility & contrast

On white

7.80
#4A4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4A4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4C8A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4C8A#FFFFFF#000000##FFFFFF
##4A4C8A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#355964
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a4c8a;
/* rgb */ color: rgb(74, 76, 138);
/* oklch */ color: oklch(44.5% 0.100 280.1);
Tailwind
colors: {
  custom: {
    50: '#807eac',
    500: '#4a4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a4c8a;
$custom-light: #807eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4c8a",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 238.125,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.10035,
    "h": 280.1
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#4A4C8A
secondary
#AEAC82
accent
#C361C6
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #4A4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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