#4E4E8D#4E4E8D

#4E4E8D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.5% C 0.101 H 281.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4E4E8D
RGBrgb(78, 78, 141)
HSLhsl(240, 29%, 43%)
HSVhsv(240, 45%, 55%)
CMYKcmyk(44.7%, 44.7%, 0%, 44.7%)
CIE-LABlab(35.97, 17.22, -35.06)
CIE-LCHlch(35.97, 39.06, 296.16°)
OKLaboklab(45.47% 0.0204 -0.0991)
OKLCHoklch(45.47% 0.101 281.6)
XYZxyz(10.6726, 8.9911, 26.3672)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E8D #8D8D4E
analogous
#4E6D8D #4E4E8D #6D4E8D
triadic
#4E4E8D #8D4E4E #4E8D4E
tetradic
#4E4E8D #8D4E6D #8D8D4E #4E8D6D
square
#4E4E8D #8D4E6D #8D8D4E #4E8D6D
split-complementary
#4E4E8D #8D6D4E #6D8D4E
monochromatic
#22223E #383866 #4E4E8D #6B6BAD #9292C3

Accessibility & contrast

On white

7.50
#4E4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4E8D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E8D#FFFFFF#000000##FFFFFF
##4E4E8D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578F
Deuteranopia (green-blind)
#33528C
Tritanopia (blue-blind)
#3A5B66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4e8d;
/* rgb */ color: rgb(78, 78, 141);
/* oklch */ color: oklch(45.5% 0.101 281.6);
Tailwind
colors: {
  custom: {
    50: '#837faf',
    500: '#4e4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e8d;
$custom-light: #837faf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e8d",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.10119,
    "h": 281.6
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#4E4E8D
secondary
#AFAF87
accent
#C563C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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