#4E4FA4#4E4FA4

#4E4FA4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.134 H 279.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4E4FA4
RGBrgb(78, 79, 164)
HSLhsl(239, 36%, 47%)
HSVhsv(239, 52%, 64%)
CMYKcmyk(52.4%, 51.8%, 0%, 35.7%)
CIE-LABlab(37.65, 23.96, -46.26)
CIE-LCHlch(37.65, 52.09, 297.38°)
OKLaboklab(47.19% 0.022 -0.132)
OKLCHoklch(47.19% 0.134 279.5)
XYZxyz(12.6366, 9.8913, 36.3581)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FA4 #A4A34E
analogous
#4E7AA4 #4E4FA4 #784EA4
triadic
#4E4FA4 #A44E4F #4FA44E
tetradic
#4E4FA4 #A44E7A #A4A34E #4EA478
square
#4E4FA4 #A44E7A #A4A34E #4EA478
split-complementary
#4E4FA4 #A4784E #7AA44E
monochromatic
#272751 #3A3B7B #4E4FA4 #7374BC #9C9DD0

Accessibility & contrast

On white

7.05
#4E4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E4FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4FA4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FA4#FFFFFF#000000##FFFFFF
##4E4FA41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA7
Deuteranopia (green-blind)
#1B55A2
Tritanopia (blue-blind)
#2A6272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4fa4;
/* rgb */ color: rgb(78, 79, 164);
/* oklch */ color: oklch(47.2% 0.134 279.5);
Tailwind
colors: {
  custom: {
    50: '#8680bf',
    500: '#4e4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fa4;
$custom-light: #8680bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fa4",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 239.302,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47192,
    "c": 0.13379,
    "h": 279.5
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#4E4FA4
secondary
#BDBC91
accent
#CA5CCC
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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