#4E4F97#4E4F97

#4E4F97 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.3% C 0.115 H 280.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4E4F97
RGBrgb(78, 79, 151)
HSLhsl(239, 32%, 45%)
HSVhsv(239, 48%, 59%)
CMYKcmyk(48.3%, 47.7%, 0%, 40.8%)
CIE-LABlab(36.83, 19.75, -39.76)
CIE-LCHlch(36.83, 44.40, 296.41°)
OKLaboklab(46.31% 0.0206 -0.1129)
OKLCHoklch(46.31% 0.115 280.3)
XYZxyz(11.5221, 9.4454, 30.4882)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F97 #97964E
analogous
#4E7497 #4E4F97 #714E97
triadic
#4E4F97 #974E4F #4F974E
tetradic
#4E4F97 #974E74 #97964E #4E9771
square
#4E4F97 #974E74 #97964E #4E9771
split-complementary
#4E4F97 #97714E #74974E
monochromatic
#242546 #393A6F #4E4F97 #6E6FB4 #9697C9

Accessibility & contrast

On white

7.27
#4E4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E4F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F97
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F97#FFFFFF#000000##FFFFFF
##4E4F971.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31599A
Deuteranopia (green-blind)
#2C5495
Tritanopia (blue-blind)
#345E6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4f97;
/* rgb */ color: rgb(78, 79, 151);
/* oklch */ color: oklch(46.3% 0.115 280.3);
Tailwind
colors: {
  custom: {
    50: '#8480b6',
    500: '#4e4f97',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f97;
$custom-light: #8480b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f97",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 239.178,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.11474,
    "h": 280.3
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#4E4F97
secondary
#B6B58B
accent
#C760C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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