#4E4EAA#4E4EAA

#4E4EAA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.144 H 279.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E4EAA
RGBrgb(78, 78, 170)
HSLhsl(240, 37%, 49%)
HSVhsv(240, 54%, 67%)
CMYKcmyk(54.1%, 54.1%, 0%, 33.3%)
CIE-LABlab(37.79, 26.56, -49.61)
CIE-LCHlch(37.79, 56.27, 298.16°)
OKLaboklab(47.43% 0.0235 -0.1418)
OKLCHoklch(47.43% 0.144 279.4)
XYZxyz(13.1197, 9.9699, 39.2555)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EAA #AAAA4E
analogous
#4E7CAA #4E4EAA #7C4EAA
triadic
#4E4EAA #AA4E4E #4EAA4E
tetradic
#4E4EAA #AA4E7C #AAAA4E #4EAA7C
square
#4E4EAA #AA4E7C #AAAA4E #4EAA7C
split-complementary
#4E4EAA #AA7C4E #7CAA4E
monochromatic
#282856 #3B3B80 #4E4EAA #7575C0 #9F9FD3

Accessibility & contrast

On white

7.01
#4E4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E4EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4EAA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EAA#FFFFFF#000000##FFFFFF
##4E4EAA1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#0655A8
Tritanopia (blue-blind)
#246374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4eaa;
/* rgb */ color: rgb(78, 78, 170);
/* oklch */ color: oklch(47.4% 0.144 279.4);
Tailwind
colors: {
  custom: {
    50: '#877fc4',
    500: '#4e4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eaa;
$custom-light: #877fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eaa",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.14376,
    "h": 279.4
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#4E4EAA
secondary
#C0C094
accent
#CD5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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