#4E4A97#4E4A97

#4E4A97 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.122 H 282.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4E4A97
RGBrgb(78, 74, 151)
HSLhsl(243, 34%, 44%)
HSVhsv(243, 51%, 59%)
CMYKcmyk(48.3%, 51%, 0%, 40.8%)
CIE-LABlab(35.50, 22.96, -41.88)
CIE-LCHlch(35.50, 47.77, 298.73°)
OKLaboklab(45.31% 0.0269 -0.1191)
OKLCHoklch(45.31% 0.122 282.7)
XYZxyz(11.1749, 8.7511, 30.3725)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A97 #93974A
analogous
#4A6D97 #4E4A97 #754A97
triadic
#4E4A97 #974E4A #4A974E
tetradic
#4E4A97 #974A6D #93974A #4A9775
square
#4E4A97 #974A6D #93974A #4A9775
split-complementary
#4E4A97 #97754A #6D974A
monochromatic
#242245 #39366E #4E4A97 #6D69B5 #9592CA

Accessibility & contrast

On white

7.64
#4E4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E4A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A97
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A97#FFFFFF#000000##FFFFFF
##4E4A971.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#355B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4a97;
/* rgb */ color: rgb(78, 74, 151);
/* oklch */ color: oklch(45.3% 0.122 282.7);
Tailwind
colors: {
  custom: {
    50: '#847cb6',
    500: '#4e4a97',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a97;
$custom-light: #847cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a97",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 243.117,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4531,
    "c": 0.12214,
    "h": 282.7
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#4E4A97
secondary
#B3B687
accent
#CA5DC5
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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