#4E4EAC#4E4EAC

#4E4EAC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.147 H 279.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4E4EAC
RGBrgb(78, 78, 172)
HSLhsl(240, 38%, 49%)
HSVhsv(240, 55%, 67%)
CMYKcmyk(54.7%, 54.7%, 0%, 32.5%)
CIE-LABlab(37.93, 27.21, -50.57)
CIE-LCHlch(37.93, 57.43, 298.28°)
OKLaboklab(47.57% 0.0236 -0.1447)
OKLCHoklch(47.57% 0.147 279.3)
XYZxyz(13.3103, 10.0462, 40.2595)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EAC #ACAC4E
analogous
#4E7DAC #4E4EAC #7D4EAC
triadic
#4E4EAC #AC4E4E #4EAC4E
tetradic
#4E4EAC #AC4E7D #ACAC4E #4EAC7D
square
#4E4EAC #AC4E7D #ACAC4E #4EAC7D
split-complementary
#4E4EAC #AC7D4E #7DAC4E
monochromatic
#282858 #3B3B82 #4E4EAC #7676C1 #A0A0D4

Accessibility & contrast

On white

6.98
#4E4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EAC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EAC#FFFFFF#000000##FFFFFF
##4E4EAC1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155DAF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#226375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4eac;
/* rgb */ color: rgb(78, 78, 172);
/* oklch */ color: oklch(47.6% 0.147 279.3);
Tailwind
colors: {
  custom: {
    50: '#877fc5',
    500: '#4e4eac',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eac;
$custom-light: #877fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eac",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.14658,
    "h": 279.3
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#4E4EAC
secondary
#C1C195
accent
#CE5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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