#4E4B99#4E4B99

#4E4B99 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.124 H 282.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4E4B99
RGBrgb(78, 75, 153)
HSLhsl(242, 34%, 45%)
HSVhsv(242, 51%, 60%)
CMYKcmyk(49%, 51%, 0%, 40%)
CIE-LABlab(35.89, 22.96, -42.47)
CIE-LCHlch(35.89, 48.28, 298.40°)
OKLaboklab(45.64% 0.0258 -0.1209)
OKLCHoklch(45.64% 0.124 282.1)
XYZxyz(11.4060, 8.9512, 31.2576)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B99 #96994B
analogous
#4B6F99 #4E4B99 #754B99
triadic
#4E4B99 #994E4B #4B994E
tetradic
#4E4B99 #994B6F #96994B #4B9975
square
#4E4B99 #994B6F #96994B #4B9975
split-complementary
#4E4B99 #99754B #6F994B
monochromatic
#242347 #393770 #4E4B99 #6E6BB6 #9694CB

Accessibility & contrast

On white

7.53
#4E4B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4B99
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B99#FFFFFF#000000##FFFFFF
##4E4B991.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#225297
Tritanopia (blue-blind)
#335C6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4b99;
/* rgb */ color: rgb(78, 75, 153);
/* oklch */ color: oklch(45.6% 0.124 282.1);
Tailwind
colors: {
  custom: {
    50: '#857db7',
    500: '#4e4b99',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b99;
$custom-light: #857db7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b99",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 242.308,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.12359,
    "h": 282.1
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#4E4B99
secondary
#B5B789
accent
#CA5EC6
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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