#4E4C8D#4E4C8D

#4E4C8D is a mid, moderate blue. Relative luminance 0.087; OKLCH L 45.1% C 0.104 H 282.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4E4C8D
RGBrgb(78, 76, 141)
HSLhsl(242, 30%, 43%)
HSVhsv(242, 46%, 55%)
CMYKcmyk(44.7%, 46.1%, 0%, 44.7%)
CIE-LABlab(35.42, 18.51, -35.93)
CIE-LCHlch(35.42, 40.42, 297.26°)
OKLaboklab(45.05% 0.023 -0.1017)
OKLCHoklch(45.05% 0.104 282.8)
XYZxyz(10.5326, 8.7112, 26.3206)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C8D #8B8D4C
analogous
#4C6B8D #4E4C8D #6E4C8D
triadic
#4E4C8D #8D4E4C #4C8D4E
tetradic
#4E4C8D #8D4C6B #8B8D4C #4C8D6E
square
#4E4C8D #8D4C6B #8B8D4C #4C8D6E
split-complementary
#4E4C8D #8D6E4C #6B8D4C
monochromatic
#22213D #383765 #4E4C8D #6B68AE #9290C3

Accessibility & contrast

On white

7.66
#4E4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C8D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C8D#FFFFFF#000000##FFFFFF
##4E4C8D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33568F
Deuteranopia (green-blind)
#30518C
Tritanopia (blue-blind)
#3A5965
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4c8d;
/* rgb */ color: rgb(78, 76, 141);
/* oklch */ color: oklch(45.1% 0.104 282.8);
Tailwind
colors: {
  custom: {
    50: '#837eaf',
    500: '#4e4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c8d;
$custom-light: #837eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c8d",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 241.846,
    "s": 29.954,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.10425,
    "h": 282.8
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#4E4C8D
secondary
#AEAF85
accent
#C662C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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