#4E4B9B#4E4B9B

#4E4B9B is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.127 H 281.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4E4B9B
RGBrgb(78, 75, 155)
HSLhsl(242, 35%, 45%)
HSVhsv(242, 52%, 61%)
CMYKcmyk(49.7%, 51.6%, 0%, 39.2%)
CIE-LABlab(36.02, 23.60, -43.47)
CIE-LCHlch(36.02, 49.46, 298.50°)
OKLaboklab(45.78% 0.026 -0.1238)
OKLCHoklch(45.78% 0.127 281.9)
XYZxyz(11.5726, 9.0178, 32.1348)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4B9B #989B4B
analogous
#4B709B #4E4B9B #764B9B
triadic
#4E4B9B #9B4E4B #4B9B4E
tetradic
#4E4B9B #9B4B70 #989B4B #4B9B76
square
#4E4B9B #9B4B70 #989B4B #4B9B76
split-complementary
#4E4B9B #9B764B #709B4B
monochromatic
#242349 #393772 #4E4B9B #6E6CB8 #9795CC

Accessibility & contrast

On white

7.49
#4E4B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4E4B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4B9B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4B9B#FFFFFF#000000##FFFFFF
##4E4B9B1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589E
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#325C6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4b9b;
/* rgb */ color: rgb(78, 75, 155);
/* oklch */ color: oklch(45.8% 0.127 281.9);
Tailwind
colors: {
  custom: {
    50: '#857db9',
    500: '#4e4b9b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4b9b;
$custom-light: #857db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4b9b",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 242.25,
    "s": 34.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.1265,
    "h": 281.9
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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