#4E4EAF#4E4EAF

#4E4EAF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.151 H 279.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4E4EAF
RGBrgb(78, 78, 175)
HSLhsl(240, 38%, 50%)
HSVhsv(240, 55%, 69%)
CMYKcmyk(55.4%, 55.4%, 0%, 31.4%)
CIE-LABlab(38.13, 28.20, -52.02)
CIE-LCHlch(38.13, 59.17, 298.46°)
OKLaboklab(47.79% 0.0237 -0.1489)
OKLCHoklch(47.79% 0.151 279)
XYZxyz(13.6017, 10.1627, 41.7940)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EAF #AFAF4E
analogous
#4E7FAF #4E4EAF #7F4EAF
triadic
#4E4EAF #AF4E4E #4EAF4E
tetradic
#4E4EAF #AF4E7F #AFAF4E #4EAF7F
square
#4E4EAF #AF4E7F #AFAF4E #4EAF7F
split-complementary
#4E4EAF #AF7F4E #7FAF4E
monochromatic
#28285A #3B3B85 #4E4EAF #7878C3 #A2A2D6

Accessibility & contrast

On white

6.92
#4E4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EAF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EAF#FFFFFF#000000##FFFFFF
##4E4EAF1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#1E6477
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4eaf;
/* rgb */ color: rgb(78, 78, 175);
/* oklch */ color: oklch(47.8% 0.151 279.0);
Tailwind
colors: {
  custom: {
    50: '#887fc7',
    500: '#4e4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eaf;
$custom-light: #887fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eaf",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.15079,
    "h": 279
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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