#4E49A0#4E49A0

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

Color values

HEX#4E49A0
RGBrgb(78, 73, 160)
HSLhsl(243, 37%, 46%)
HSVhsv(243, 54%, 63%)
CMYKcmyk(51.2%, 54.4%, 0%, 37.3%)
CIE-LABlab(35.83, 26.48, -46.78)
CIE-LCHlch(35.83, 53.76, 299.52°)
OKLaboklab(45.75% 0.0287 -0.1335)
OKLCHoklch(45.75% 0.137 282.1)
XYZxyz(11.8677, 8.9222, 34.3477)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49A0 #9BA049
analogous
#496FA0 #4E49A0 #7949A0
triadic
#4E49A0 #A04E49 #49A04E
tetradic
#4E49A0 #A0496F #9BA049 #49A079
square
#4E49A0 #A0496F #9BA049 #49A079
split-complementary
#4E49A0 #A07949 #6FA049
monochromatic
#25234C #3A3676 #4E49A0 #6F6BBB #9895CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E49A0#FFFFFF#000000##FFFFFF
##4E49A01.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)
#1957A3
Deuteranopia (green-blind)
#10519E
Tritanopia (blue-blind)
#2E5C6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e49a0;
/* rgb */ color: rgb(78, 73, 160);
/* oklch */ color: oklch(45.8% 0.137 282.1);
Tailwind
colors: {
  custom: {
    50: '#867cbd',
    500: '#4e49a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e49a0;
$custom-light: #867cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49a0",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 160
  },
  "hsl": {
    "h": 243.448,
    "s": 37.339,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.1366,
    "h": 282.1
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#4E49A0
secondary
#B8BB8A
accent
#CD5AC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E49A0

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

Preview Lab → · Contrast checker → · Palette generator →

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