#4E4B9C#4E4B9C

#4E4B9C is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.128 H 281.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4E4B9C
RGBrgb(78, 75, 156)
HSLhsl(242, 35%, 45%)
HSVhsv(242, 52%, 61%)
CMYKcmyk(50%, 51.9%, 0%, 38.8%)
CIE-LABlab(36.08, 23.92, -43.97)
CIE-LCHlch(36.08, 50.06, 298.55°)
OKLaboklab(45.85% 0.0261 -0.1253)
OKLCHoklch(45.85% 0.128 281.8)
XYZxyz(11.6569, 9.0515, 32.5789)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B9C #999C4B
analogous
#4B719C #4E4B9C #764B9C
triadic
#4E4B9C #9C4E4B #4B9C4E
tetradic
#4E4B9C #9C4B71 #999C4B #4B9C76
square
#4E4B9C #9C4B71 #999C4B #4B9C76
split-complementary
#4E4B9C #9C764B #719C4B
monochromatic
#252349 #393773 #4E4B9C #6F6CB8 #9795CC

Accessibility & contrast

On white

7.47
#4E4B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E4B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4B9C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B9C#FFFFFF#000000##FFFFFF
##4E4B9C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#315D6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4b9c;
/* rgb */ color: rgb(78, 75, 156);
/* oklch */ color: oklch(45.9% 0.128 281.8);
Tailwind
colors: {
  custom: {
    50: '#857dba',
    500: '#4e4b9c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b9c;
$custom-light: #857dba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b9c",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 156
  },
  "hsl": {
    "h": 242.222,
    "s": 35.065,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.12796,
    "h": 281.8
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#4E4B9C
secondary
#B7B88A
accent
#CB5DC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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