#4A4E8A#4A4E8A

#4A4E8A is a dark, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.097 H 278.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4A4E8A
RGBrgb(74, 78, 138)
HSLhsl(236, 30%, 42%)
HSVhsv(236, 46%, 54%)
CMYKcmyk(46.4%, 43.5%, 0%, 45.9%)
CIE-LABlab(35.48, 15.21, -34.03)
CIE-LCHlch(35.48, 37.27, 294.09°)
OKLaboklab(44.96% 0.0149 -0.0962)
OKLCHoklch(44.96% 0.097 278.8)
XYZxyz(10.1345, 8.7391, 25.1926)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E8A #8A864A
analogous
#4A6E8A #4A4E8A #664A8A
triadic
#4A4E8A #8A4A4E #4E8A4A
tetradic
#4A4E8A #8A4A6E #8A864A #4A8A66
square
#4A4E8A #8A4A6E #8A864A #4A8A66
split-complementary
#4A4E8A #8A664A #6E8A4A
monochromatic
#1F213A #353762 #4A4E8A #6569AC #8D90C2

Accessibility & contrast

On white

7.64
#4A4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4A4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E8A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E8A#FFFFFF#000000##FFFFFF
##4A4E8A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#335189
Tritanopia (blue-blind)
#345A65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a4e8a;
/* rgb */ color: rgb(74, 78, 138);
/* oklch */ color: oklch(45.0% 0.097 278.8);
Tailwind
colors: {
  custom: {
    50: '#807fac',
    500: '#4a4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e8a;
$custom-light: #807fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e8a",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 236.25,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44958,
    "c": 0.09735,
    "h": 278.8
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#4A4E8A
secondary
#AEAB82
accent
#C061C6
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4A4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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