#4E4F95#4E4F95

#4E4F95 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.2% C 0.112 H 280.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4E4F95
RGBrgb(78, 79, 149)
HSLhsl(239, 31%, 45%)
HSVhsv(239, 48%, 58%)
CMYKcmyk(47.7%, 47%, 0%, 41.6%)
CIE-LABlab(36.71, 19.11, -38.74)
CIE-LCHlch(36.71, 43.20, 296.25°)
OKLaboklab(46.18% 0.0203 -0.1099)
OKLCHoklch(46.18% 0.112 280.5)
XYZxyz(11.3610, 9.3810, 29.6400)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F95 #95944E
analogous
#4E7395 #4E4F95 #714E95
triadic
#4E4F95 #954E4F #4F954E
tetradic
#4E4F95 #954E73 #95944E #4E9571
square
#4E4F95 #954E73 #95944E #4E9571
split-complementary
#4E4F95 #95714E #73954E
monochromatic
#242445 #393A6D #4E4F95 #6D6EB3 #9696C8

Accessibility & contrast

On white

7.30
#4E4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E4F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F95
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F95#FFFFFF#000000##FFFFFF
##4E4F951.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#2D5493
Tritanopia (blue-blind)
#355E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4f95;
/* rgb */ color: rgb(78, 79, 149);
/* oklch */ color: oklch(46.2% 0.112 280.5);
Tailwind
colors: {
  custom: {
    50: '#8480b4',
    500: '#4e4f95',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f95;
$custom-light: #8480b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f95",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 239.155,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.11176,
    "h": 280.5
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#4E4F95
secondary
#B4B48A
accent
#C660C7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4F95

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

Preview Lab → · Contrast checker → · Palette generator →

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