#4E4A7F#4E4A7F

#4E4A7F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.8% C 0.086 H 285.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4E4A7F
RGBrgb(78, 74, 127)
HSLhsl(245, 26%, 39%)
HSVhsv(245, 42%, 50%)
CMYKcmyk(38.6%, 41.7%, 0%, 50.2%)
CIE-LABlab(34.09, 15.51, -29.44)
CIE-LCHlch(34.09, 33.27, 297.78°)
OKLaboklab(43.78% 0.0233 -0.0827)
OKLCHoklch(43.78% 0.086 285.7)
XYZxyz(9.4204, 8.0493, 21.1319)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A7F #7B7F4A
analogous
#4A617F #4E4A7F #694A7F
triadic
#4E4A7F #7F4E4A #4A7F4E
tetradic
#4E4A7F #7F4A61 #7B7F4A #4A7F69
square
#4E4A7F #7F4A61 #7B7F4A #4A7F69
split-complementary
#4E4A7F #7F694A #617F4A
monochromatic
#1F1D32 #363358 #4E4A7F #6762A4 #8D89BA

Accessibility & contrast

On white

8.05
#4E4A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E4A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A7F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A7F#FFFFFF#000000##FFFFFF
##4E4A7F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385281
Deuteranopia (green-blind)
#374F7E
Tritanopia (blue-blind)
#41545E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4a7f;
/* rgb */ color: rgb(78, 74, 127);
/* oklch */ color: oklch(43.8% 0.086 285.7);
Tailwind
colors: {
  custom: {
    50: '#827ca4',
    500: '#4e4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a7f;
$custom-light: #827ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a7f",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 244.528,
    "s": 26.368,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.08594,
    "h": 285.7
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#4E4A7F
secondary
#A3A67E
accent
#C365BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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