#4E4A9C#4E4A9C

#4E4A9C is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.129 H 282.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4E4A9C
RGBrgb(78, 74, 156)
HSLhsl(243, 36%, 45%)
HSVhsv(243, 53%, 61%)
CMYKcmyk(50%, 52.6%, 0%, 38.8%)
CIE-LABlab(35.82, 24.56, -44.39)
CIE-LCHlch(35.82, 50.73, 298.96°)
OKLaboklab(45.66% 0.0273 -0.1265)
OKLCHoklch(45.66% 0.129 282.2)
XYZxyz(11.5896, 8.9170, 32.5565)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A9C #989C4A
analogous
#4A6F9C #4E4A9C #774A9C
triadic
#4E4A9C #9C4E4A #4A9C4E
tetradic
#4E4A9C #9C4A6F #989C4A #4A9C77
square
#4E4A9C #9C4A6F #989C4A #4A9C77
split-complementary
#4E4A9C #9C774A #6F9C4A
monochromatic
#242349 #393672 #4E4A9C #6E6BB9 #9794CC

Accessibility & contrast

On white

7.54
#4E4A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E4A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A9C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A9C#FFFFFF#000000##FFFFFF
##4E4A9C1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579F
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#315C6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4a9c;
/* rgb */ color: rgb(78, 74, 156);
/* oklch */ color: oklch(45.7% 0.129 282.2);
Tailwind
colors: {
  custom: {
    50: '#857cba',
    500: '#4e4a9c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a9c;
$custom-light: #857cba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a9c",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 156
  },
  "hsl": {
    "h": 242.927,
    "s": 35.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.12941,
    "h": 282.2
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#4E4A9C
secondary
#B6B889
accent
#CC5CC6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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