#4E4FAA#4E4FAA

#4E4FAA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.142 H 279.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4E4FAA
RGBrgb(78, 79, 170)
HSLhsl(239, 37%, 49%)
HSVhsv(239, 54%, 67%)
CMYKcmyk(54.1%, 53.5%, 0%, 33.3%)
CIE-LABlab(38.04, 25.92, -49.19)
CIE-LCHlch(38.04, 55.61, 297.79°)
OKLaboklab(47.62% 0.0224 -0.1406)
OKLCHoklch(47.62% 0.142 279)
XYZxyz(13.1913, 10.1131, 39.2793)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FAA #AAA94E
analogous
#4E7DAA #4E4FAA #7B4EAA
triadic
#4E4FAA #AA4E4F #4FAA4E
tetradic
#4E4FAA #AA4E7D #AAA94E #4EAA7B
square
#4E4FAA #AA4E7D #AAA94E #4EAA7B
split-complementary
#4E4FAA #AA7B4E #7DAA4E
monochromatic
#282856 #3B3C80 #4E4FAA #7576C0 #9FA0D3

Accessibility & contrast

On white

6.95
#4E4FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E4FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FAA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FAA#FFFFFF#000000##FFFFFF
##4E4FAA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAD
Deuteranopia (green-blind)
#0C56A8
Tritanopia (blue-blind)
#246475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4faa;
/* rgb */ color: rgb(78, 79, 170);
/* oklch */ color: oklch(47.6% 0.142 279.0);
Tailwind
colors: {
  custom: {
    50: '#8780c4',
    500: '#4e4faa',
    950: '#000000',
  },
}
SCSS
$custom: #4e4faa;
$custom-light: #8780c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4faa",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 239.348,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.14237,
    "h": 279
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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