#4E4A8D#4E4A8D

#4E4A8D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.6% C 0.107 H 283.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4E4A8D
RGBrgb(78, 74, 141)
HSLhsl(244, 31%, 42%)
HSVhsv(244, 48%, 55%)
CMYKcmyk(44.7%, 47.5%, 0%, 44.7%)
CIE-LABlab(34.88, 19.80, -36.79)
CIE-LCHlch(34.88, 41.78, 298.29°)
OKLaboklab(44.65% 0.0257 -0.1042)
OKLCHoklch(44.65% 0.107 283.9)
XYZxyz(10.3970, 8.4399, 26.2754)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A8D #898D4A
analogous
#4A688D #4E4A8D #704A8D
triadic
#4E4A8D #8D4E4A #4A8D4E
tetradic
#4E4A8D #8D4A68 #898D4A #4A8D70
square
#4E4A8D #8D4A68 #898D4A #4A8D70
split-complementary
#4E4A8D #8D704A #688D4A
monochromatic
#22203D #383565 #4E4A8D #6A66AF #918EC4

Accessibility & contrast

On white

7.81
#4E4A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4A8D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A8D#FFFFFF#000000##FFFFFF
##4E4A8D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#3A5864
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4a8d;
/* rgb */ color: rgb(78, 74, 141);
/* oklch */ color: oklch(44.6% 0.107 283.9);
Tailwind
colors: {
  custom: {
    50: '#837caf',
    500: '#4e4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a8d;
$custom-light: #837caf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a8d",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 243.582,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.10732,
    "h": 283.9
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#4E4A8D
secondary
#ADB083
accent
#C760C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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