#4E4C8C#4E4C8C

#4E4C8C is a dark, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.103 H 282.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4E4C8C
RGBrgb(78, 76, 140)
HSLhsl(242, 30%, 42%)
HSVhsv(242, 46%, 55%)
CMYKcmyk(44.3%, 45.7%, 0%, 45.1%)
CIE-LABlab(35.36, 18.20, -35.41)
CIE-LCHlch(35.36, 39.81, 297.20°)
OKLaboklab(44.99% 0.0229 -0.1001)
OKLCHoklch(44.99% 0.103 282.9)
XYZxyz(10.4586, 8.6816, 25.9305)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C8C #8A8C4C
analogous
#4C6A8C #4E4C8C #6E4C8C
triadic
#4E4C8C #8C4E4C #4C8C4E
tetradic
#4E4C8C #8C4C6A #8A8C4C #4C8C6E
square
#4E4C8C #8C4C6A #8A8C4C #4C8C6E
split-complementary
#4E4C8C #8C6E4C #6A8C4C
monochromatic
#22213D #383664 #4E4C8C #6A68AD #9190C3

Accessibility & contrast

On white

7.67
#4E4C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4C8C
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C8C#FFFFFF#000000##FFFFFF
##4E4C8C1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#3B5965
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4c8c;
/* rgb */ color: rgb(78, 76, 140);
/* oklch */ color: oklch(45.0% 0.103 282.9);
Tailwind
colors: {
  custom: {
    50: '#837eae',
    500: '#4e4c8c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c8c;
$custom-light: #837eae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c8c",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 241.875,
    "s": 29.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.10273,
    "h": 282.9
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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