#4A4E7E#4A4E7E

#4A4E7E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.079 H 279.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4A4E7E
RGBrgb(74, 78, 126)
HSLhsl(235, 26%, 39%)
HSVhsv(235, 41%, 49%)
CMYKcmyk(41.3%, 38.1%, 0%, 50.6%)
CIE-LABlab(34.82, 11.44, -27.68)
CIE-LCHlch(34.82, 29.95, 292.46°)
OKLaboklab(44.24% 0.0124 -0.0777)
OKLCHoklch(44.24% 0.079 279)
XYZxyz(9.3132, 8.4106, 20.8673)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E7E #7E7A4A
analogous
#4A687E #4A4E7E #604A7E
triadic
#4A4E7E #7E4A4E #4E7E4A
tetradic
#4A4E7E #7E4A68 #7E7A4A #4A7E60
square
#4A4E7E #7E4A68 #7E7A4A #4A7E60
split-complementary
#4A4E7E #7E604A #687E4A
monochromatic
#1D1E31 #333657 #4A4E7E #6267A3 #898DBA

Accessibility & contrast

On white

7.83
#4A4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4A4E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E7E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E7E#FFFFFF#000000##FFFFFF
##4A4E7E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#3A5760
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a4e7e;
/* rgb */ color: rgb(74, 78, 126);
/* oklch */ color: oklch(44.2% 0.079 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f7fa3',
    500: '#4a4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e7e;
$custom-light: #7f7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e7e",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 235.385,
    "s": 26,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.07868,
    "h": 279
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#4A4E7E
secondary
#A6A37E
accent
#BB65C2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4A4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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