#4E487E#4E487E

#4E487E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.3% C 0.088 H 287.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4E487E
RGBrgb(78, 72, 126)
HSLhsl(247, 27%, 39%)
HSVhsv(247, 43%, 49%)
CMYKcmyk(38.1%, 42.9%, 0%, 50.6%)
CIE-LABlab(33.48, 16.50, -29.78)
CIE-LCHlch(33.48, 34.04, 298.99°)
OKLaboklab(43.3% 0.026 -0.0837)
OKLCHoklch(43.3% 0.088 287.2)
XYZxyz(9.2241, 7.7605, 20.7465)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E487E #787E48
analogous
#485D7E #4E487E #69487E
triadic
#4E487E #7E4E48 #487E4E
tetradic
#4E487E #7E485D #787E48 #487E69
square
#4E487E #7E485D #787E48 #487E69
split-complementary
#4E487E #7E6948 #5D7E48
monochromatic
#1E1B30 #363257 #4E487E #675FA4 #8C86BA

Accessibility & contrast

On white

8.23
#4E487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E487E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E487E#FFFFFF#000000##FFFFFF
##4E487E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#41525D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e487e;
/* rgb */ color: rgb(78, 72, 126);
/* oklch */ color: oklch(43.3% 0.088 287.2);
Tailwind
colors: {
  custom: {
    50: '#827ba3',
    500: '#4e487e',
    950: '#000000',
  },
}
SCSS
$custom: #4e487e;
$custom-light: #827ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e487e",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 246.667,
    "s": 27.273,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43301,
    "c": 0.08766,
    "h": 287.2
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#4E487E
secondary
#A1A67C
accent
#C464B9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E487E

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

Preview Lab → · Contrast checker → · Palette generator →

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