#4E49BA#4E49BA

#4E49BA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.172 H 279.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E49BA
RGBrgb(78, 73, 186)
HSLhsl(243, 45%, 51%)
HSVhsv(243, 61%, 73%)
CMYKcmyk(58.1%, 60.8%, 0%, 27.1%)
CIE-LABlab(37.71, 34.93, -59.18)
CIE-LCHlch(37.71, 68.72, 300.55°)
OKLaboklab(47.74% 0.0288 -0.17)
OKLCHoklch(47.74% 0.172 279.6)
XYZxyz(14.3846, 9.9290, 47.6033)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E49BA #B5BA49
analogous
#497CBA #4E49BA #8649BA
triadic
#4E49BA #BA4E49 #49BA4E
tetradic
#4E49BA #BA497C #B5BA49 #49BA86
square
#4E49BA #BA497C #B5BA49 #49BA86
split-complementary
#4E49BA #BA8649 #7CBA49
monochromatic
#282663 #3A368F #4E49BA #7975CB #A4A2DC

Accessibility & contrast

On white

7.03
#4E49BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E49BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E49BA
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E49BA#FFFFFF#000000##FFFFFF
##4E49BA1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#09647A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e49ba;
/* rgb */ color: rgb(78, 73, 186);
/* oklch */ color: oklch(47.7% 0.172 279.6);
Tailwind
colors: {
  custom: {
    50: '#8a7cd0',
    500: '#4e49ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e49ba;
$custom-light: #8a7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e49ba",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 242.655,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47739,
    "c": 0.17243,
    "h": 279.6
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#4E49BA
secondary
#C6C896
accent
#D553CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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