#4E4E9D#4E4E9D

#4E4E9D is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.125 H 280.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4E4E9D
RGBrgb(78, 78, 157)
HSLhsl(240, 34%, 46%)
HSVhsv(240, 50%, 62%)
CMYKcmyk(50.3%, 50.3%, 0%, 38.4%)
CIE-LABlab(36.93, 22.32, -43.21)
CIE-LCHlch(36.93, 48.63, 297.32°)
OKLaboklab(46.51% 0.0225 -0.123)
OKLCHoklch(46.51% 0.125 280.4)
XYZxyz(11.9502, 9.5021, 33.0962)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E9D #9D9D4E
analogous
#4E759D #4E4E9D #754E9D
triadic
#4E4E9D #9D4E4E #4E9D4E
tetradic
#4E4E9D #9D4E75 #9D9D4E #4E9D75
square
#4E4E9D #9D4E75 #9D9D4E #4E9D75
split-complementary
#4E4E9D #9D754E #759D4E
monochromatic
#25254B #3A3A74 #4E4E9D #7070B8 #9999CC

Accessibility & contrast

On white

7.24
#4E4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E9D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E9D#FFFFFF#000000##FFFFFF
##4E4E9D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#305F6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e4e9d;
/* rgb */ color: rgb(78, 78, 157);
/* oklch */ color: oklch(46.5% 0.125 280.4);
Tailwind
colors: {
  custom: {
    50: '#857fba',
    500: '#4e4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e9d;
$custom-light: #857fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e9d",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.12506,
    "h": 280.4
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#4E4E9D
secondary
#B9B98E
accent
#CA5ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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