#4E4A8E#4E4A8E

#4E4A8E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.7% C 0.109 H 283.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4E4A8E
RGBrgb(78, 74, 142)
HSLhsl(244, 31%, 42%)
HSVhsv(244, 48%, 56%)
CMYKcmyk(45.1%, 47.9%, 0%, 44.3%)
CIE-LABlab(34.94, 20.12, -37.30)
CIE-LCHlch(34.94, 42.38, 298.34°)
OKLaboklab(44.71% 0.0259 -0.1057)
OKLCHoklch(44.71% 0.109 283.7)
XYZxyz(10.4717, 8.4698, 26.6690)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A8E #8A8E4A
analogous
#4A688E #4E4A8E #704A8E
triadic
#4E4A8E #8E4E4A #4A8E4E
tetradic
#4E4A8E #8E4A68 #8A8E4A #4A8E70
square
#4E4A8E #8E4A68 #8A8E4A #4A8E70
split-complementary
#4E4A8E #8E704A #688E4A
monochromatic
#22203E #383566 #4E4A8E #6A66AF #918EC4

Accessibility & contrast

On white

7.80
#4E4A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E4A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A8E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A8E#FFFFFF#000000##FFFFFF
##4E4A8E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#3A5865
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4a8e;
/* rgb */ color: rgb(78, 74, 142);
/* oklch */ color: oklch(44.7% 0.109 283.7);
Tailwind
colors: {
  custom: {
    50: '#837caf',
    500: '#4e4a8e',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a8e;
$custom-light: #837caf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a8e",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 243.529,
    "s": 31.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.10882,
    "h": 283.7
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#4E4A8E
secondary
#AEB084
accent
#C860C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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