#4E4B9D#4E4B9D

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

Color values

HEX#4E4B9D
RGBrgb(78, 75, 157)
HSLhsl(242, 35%, 45%)
HSVhsv(242, 52%, 62%)
CMYKcmyk(50.3%, 52.2%, 0%, 38.4%)
CIE-LABlab(36.15, 24.24, -44.47)
CIE-LCHlch(36.15, 50.65, 298.60°)
OKLaboklab(45.92% 0.0262 -0.1267)
OKLCHoklch(45.92% 0.129 281.7)
XYZxyz(11.7419, 9.0856, 33.0267)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B9D #9A9D4B
analogous
#4B719D #4E4B9D #774B9D
triadic
#4E4B9D #9D4E4B #4B9D4E
tetradic
#4E4B9D #9D4B71 #9A9D4B #4B9D77
square
#4E4B9D #9D4B71 #9A9D4B #4B9D77
split-complementary
#4E4B9D #9D774B #719D4B
monochromatic
#25234A #393774 #4E4B9D #6F6CB9 #9896CD

Accessibility & contrast

On white

7.45
#4E4B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E4B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4B9D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B9D#FFFFFF#000000##FFFFFF
##4E4B9D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#305D6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4b9d;
/* rgb */ color: rgb(78, 75, 157);
/* oklch */ color: oklch(45.9% 0.129 281.7);
Tailwind
colors: {
  custom: {
    50: '#857dba',
    500: '#4e4b9d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b9d;
$custom-light: #857dba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b9d",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 242.195,
    "s": 35.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.1294,
    "h": 281.7
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#4E4B9D
secondary
#B7B98B
accent
#CB5CC7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4E4B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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