#4A4E7D#4A4E7D

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

Color values

HEX#4A4E7D
RGBrgb(74, 78, 125)
HSLhsl(235, 26%, 39%)
HSVhsv(235, 41%, 49%)
CMYKcmyk(40.8%, 37.6%, 0%, 51%)
CIE-LABlab(34.77, 11.13, -27.15)
CIE-LCHlch(34.77, 29.34, 292.30°)
OKLaboklab(44.19% 0.0121 -0.0761)
OKLCHoklch(44.19% 0.077 279)
XYZxyz(9.2490, 8.3849, 20.5292)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E7D #7D794A
analogous
#4A687D #4A4E7D #604A7D
triadic
#4A4E7D #7D4A4E #4E7D4A
tetradic
#4A4E7D #7D4A68 #7D794A #4A7D60
square
#4A4E7D #7D4A68 #7D794A #4A7D60
split-complementary
#4A4E7D #7D604A #687D4A
monochromatic
#1C1E30 #333657 #4A4E7D #6267A2 #898CB9

Accessibility & contrast

On white

7.84
#4A4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4E7D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E7D#FFFFFF#000000##FFFFFF
##4A4E7D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#3B575F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a4e7d;
/* rgb */ color: rgb(74, 78, 125);
/* oklch */ color: oklch(44.2% 0.077 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f7fa3',
    500: '#4a4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e7d;
$custom-light: #7f7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e7d",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 235.294,
    "s": 25.628,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.0771,
    "h": 279
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#4A4E7D
secondary
#A5A27E
accent
#BB66C2
background
#F7F7FA
surface
#EEEEF3
border
#C9C9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4A4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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