#4E4EC7#4E4EC7

#4E4EC7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.183 H 277.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4E4EC7
RGBrgb(78, 78, 199)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 61%, 78%)
CMYKcmyk(60.8%, 60.8%, 0%, 22%)
CIE-LABlab(39.90, 36.11, -63.22)
CIE-LCHlch(39.90, 72.81, 299.74°)
OKLaboklab(49.66% 0.0236 -0.1819)
OKLCHoklch(49.66% 0.183 277.4)
XYZxyz(16.1718, 11.1908, 55.3296)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EC7 #C7C74E
analogous
#4E8BC7 #4E4EC7 #8B4EC7
triadic
#4E4EC7 #C74E4E #4EC74E
tetradic
#4E4EC7 #C74E8B #C7C74E #4EC78B
square
#4E4EC7 #C74E8B #C7C74E #4EC78B
split-complementary
#4E4EC7 #C78B4E #8BC74E
monochromatic
#252575 #3434A4 #4E4EC7 #7C7CD6 #ABABE4

Accessibility & contrast

On white

6.48
#4E4EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E4EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EC7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EC7#FFFFFF#000000##FFFFFF
##4E4EC71.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e4ec7;
/* rgb */ color: rgb(78, 78, 199);
/* oklch */ color: oklch(49.7% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#8c80d9',
    500: '#4e4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ec7;
$custom-light: #8c80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ec7",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 240,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.4966,
    "c": 0.18338,
    "h": 277.4
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#4E4EC7
secondary
#D2D29F
accent
#DB4CDB
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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