#4A4E87#4A4E87

#4A4E87 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.8% C 0.093 H 278.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4A4E87
RGBrgb(74, 78, 135)
HSLhsl(236, 29%, 41%)
HSVhsv(236, 45%, 53%)
CMYKcmyk(45.2%, 42.2%, 0%, 47.1%)
CIE-LABlab(35.31, 14.26, -32.46)
CIE-LCHlch(35.31, 35.45, 293.71°)
OKLaboklab(44.77% 0.0144 -0.0916)
OKLCHoklch(44.77% 0.093 278.9)
XYZxyz(9.9203, 8.6534, 24.0645)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E87 #87834A
analogous
#4A6C87 #4A4E87 #644A87
triadic
#4A4E87 #874A4E #4E874A
tetradic
#4A4E87 #874A6C #87834A #4A8764
square
#4A4E87 #874A6C #87834A #4A8764
split-complementary
#4A4E87 #87644A #6C874A
monochromatic
#1F2038 #34375F #4A4E87 #6469AA #8C8FC0

Accessibility & contrast

On white

7.69
#4A4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4A4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E87
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E87#FFFFFF#000000##FFFFFF
##4A4E871.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395589
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#365A64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a4e87;
/* rgb */ color: rgb(74, 78, 135);
/* oklch */ color: oklch(44.8% 0.093 278.9);
Tailwind
colors: {
  custom: {
    50: '#807faa',
    500: '#4a4e87',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e87;
$custom-light: #807faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e87",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 236.066,
    "s": 29.187,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.09273,
    "h": 278.9
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#4A4E87
secondary
#ACA981
accent
#BF62C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4A4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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