#4E4EA0#4E4EA0

#4E4EA0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.129 H 280.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4EA0
RGBrgb(78, 78, 160)
HSLhsl(240, 34%, 47%)
HSVhsv(240, 51%, 63%)
CMYKcmyk(51.2%, 51.2%, 0%, 37.3%)
CIE-LABlab(37.13, 23.29, -44.70)
CIE-LCHlch(37.13, 50.41, 297.52°)
OKLaboklab(46.72% 0.0228 -0.1274)
OKLCHoklch(46.72% 0.129 280.2)
XYZxyz(12.2095, 9.6059, 34.4617)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EA0 #A0A04E
analogous
#4E77A0 #4E4EA0 #774EA0
triadic
#4E4EA0 #A04E4E #4EA04E
tetradic
#4E4EA0 #A04E77 #A0A04E #4EA077
square
#4E4EA0 #A04E77 #A0A04E #4EA077
split-complementary
#4E4EA0 #A0774E #77A04E
monochromatic
#26264E #3A3A77 #4E4EA0 #7171BA #9A9ACE

Accessibility & contrast

On white

7.19
#4E4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EA0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EA0#FFFFFF#000000##FFFFFF
##4E4EA01.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA3
Deuteranopia (green-blind)
#1F549E
Tritanopia (blue-blind)
#2E606F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4ea0;
/* rgb */ color: rgb(78, 78, 160);
/* oklch */ color: oklch(46.7% 0.129 280.2);
Tailwind
colors: {
  custom: {
    50: '#857fbd',
    500: '#4e4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ea0;
$custom-light: #857fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ea0",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 240,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46717,
    "c": 0.12943,
    "h": 280.2
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#4E4EA0
secondary
#BBBB8F
accent
#CB5DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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