#4E4E8A#4E4E8A

#4E4E8A is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.3% C 0.097 H 281.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#4E4E8A
RGBrgb(78, 78, 138)
HSLhsl(240, 28%, 42%)
HSVhsv(240, 43%, 54%)
CMYKcmyk(43.5%, 43.5%, 0%, 45.9%)
CIE-LABlab(35.80, 16.29, -33.50)
CIE-LCHlch(35.80, 37.25, 295.93°)
OKLaboklab(45.28% 0.0198 -0.0946)
OKLCHoklch(45.28% 0.097 281.8)
XYZxyz(10.4524, 8.9030, 25.2075)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E8A #8A8A4E
analogous
#4E6C8A #4E4E8A #6C4E8A
triadic
#4E4E8A #8A4E4E #4E8A4E
tetradic
#4E4E8A #8A4E6C #8A8A4E #4E8A6C
square
#4E4E8A #8A4E6C #8A8A4E #4E8A6C
split-complementary
#4E4E8A #8A6C4E #6C8A4E
monochromatic
#22223C #383863 #4E4E8A #6A6AAB #9191C1

Accessibility & contrast

On white

7.55
#4E4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E8A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E8A#FFFFFF#000000##FFFFFF
##4E4E8A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#3B5A65
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4e8a;
/* rgb */ color: rgb(78, 78, 138);
/* oklch */ color: oklch(45.3% 0.097 281.8);
Tailwind
colors: {
  custom: {
    50: '#837fac',
    500: '#4e4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e8a;
$custom-light: #837fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e8a",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 240,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.09661,
    "h": 281.8
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#4E4E8A
secondary
#AEAE86
accent
#C464C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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