#4E49A2#4E49A2

#4E49A2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.139 H 281.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4E49A2
RGBrgb(78, 73, 162)
HSLhsl(243, 38%, 46%)
HSVhsv(243, 55%, 64%)
CMYKcmyk(51.9%, 54.9%, 0%, 36.5%)
CIE-LABlab(35.97, 27.13, -47.76)
CIE-LCHlch(35.97, 54.93, 299.60°)
OKLaboklab(45.9% 0.0288 -0.1364)
OKLCHoklch(45.9% 0.139 281.9)
XYZxyz(12.0440, 8.9928, 35.2766)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49A2 #9DA249
analogous
#4970A2 #4E49A2 #7A49A2
triadic
#4E49A2 #A24E49 #49A24E
tetradic
#4E49A2 #A24970 #9DA249 #49A27A
square
#4E49A2 #A24970 #9DA249 #49A27A
split-complementary
#4E49A2 #A27A49 #70A249
monochromatic
#25234E #3A3678 #4E49A2 #706CBD #9996D0

Accessibility & contrast

On white

7.50
#4E49A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E49A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49A2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49A2#FFFFFF#000000##FFFFFF
##4E49A21.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#0A51A0
Tritanopia (blue-blind)
#2D5D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e49a2;
/* rgb */ color: rgb(78, 73, 162);
/* oklch */ color: oklch(45.9% 0.139 281.9);
Tailwind
colors: {
  custom: {
    50: '#867cbe',
    500: '#4e49a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e49a2;
$custom-light: #867cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49a2",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 243.371,
    "s": 37.872,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.13943,
    "h": 281.9
  },
  "luminance": 0.08993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E49A2

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

Preview Lab → · Contrast checker → · Palette generator →

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