#4E49A1#4E49A1

#4E49A1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.138 H 282.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E49A1
RGBrgb(78, 73, 161)
HSLhsl(243, 38%, 46%)
HSVhsv(243, 55%, 63%)
CMYKcmyk(51.6%, 54.7%, 0%, 36.9%)
CIE-LABlab(35.90, 26.81, -47.27)
CIE-LCHlch(35.90, 54.34, 299.56°)
OKLaboklab(45.82% 0.0288 -0.135)
OKLCHoklch(45.82% 0.138 282)
XYZxyz(11.9555, 8.9573, 34.8103)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49A1 #9CA149
analogous
#4970A1 #4E49A1 #7A49A1
triadic
#4E49A1 #A14E49 #49A14E
tetradic
#4E49A1 #A14970 #9CA149 #49A17A
square
#4E49A1 #A14970 #9CA149 #49A17A
split-complementary
#4E49A1 #A17A49 #70A149
monochromatic
#25234D #3A3677 #4E49A1 #706BBC #9995CF

Accessibility & contrast

On white

7.52
#4E49A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E49A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49A1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49A1#FFFFFF#000000##FFFFFF
##4E49A11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A4
Deuteranopia (green-blind)
#0D519F
Tritanopia (blue-blind)
#2E5D6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e49a1;
/* rgb */ color: rgb(78, 73, 161);
/* oklch */ color: oklch(45.8% 0.138 282.0);
Tailwind
colors: {
  custom: {
    50: '#867cbd',
    500: '#4e49a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e49a1;
$custom-light: #867cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49a1",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 161
  },
  "hsl": {
    "h": 243.409,
    "s": 37.607,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.13801,
    "h": 282
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#4E49A1
secondary
#B8BB8B
accent
#CE5AC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E49A1

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

Preview Lab → · Contrast checker → · Palette generator →

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