#4E4CA6#4E4CA6

#4E4CA6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.141 H 280.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4E4CA6
RGBrgb(78, 76, 166)
HSLhsl(241, 37%, 47%)
HSVhsv(241, 54%, 65%)
CMYKcmyk(53%, 54.2%, 0%, 34.9%)
CIE-LABlab(37.01, 26.52, -48.49)
CIE-LCHlch(37.01, 55.26, 298.68°)
OKLaboklab(46.76% 0.0256 -0.1385)
OKLCHoklch(46.76% 0.141 280.5)
XYZxyz(12.6071, 9.5410, 37.2463)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4CA6 #A4A64C
analogous
#4C77A6 #4E4CA6 #7B4CA6
triadic
#4E4CA6 #A64E4C #4CA64E
tetradic
#4E4CA6 #A64C77 #A4A64C #4CA67B
square
#4E4CA6 #A64C77 #A4A64C #4CA67B
split-complementary
#4E4CA6 #A67B4C #77A64C
monochromatic
#272652 #3A397C #4E4CA6 #7371BE #9C9BD1

Accessibility & contrast

On white

7.22
#4E4CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4E4CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4CA6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4CA6#FFFFFF#000000##FFFFFF
##4E4CA61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA9
Deuteranopia (green-blind)
#0B54A4
Tritanopia (blue-blind)
#296071
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4ca6;
/* rgb */ color: rgb(78, 76, 166);
/* oklch */ color: oklch(46.8% 0.141 280.5);
Tailwind
colors: {
  custom: {
    50: '#867ec1',
    500: '#4e4ca6',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ca6;
$custom-light: #867ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ca6",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 241.333,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.14088,
    "h": 280.5
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#4E4CA6
secondary
#BDBE90
accent
#CD5BCB
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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