#4E487B#4E487B

#4E487B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.083 H 287.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E487B
RGBrgb(78, 72, 123)
HSLhsl(247, 26%, 38%)
HSVhsv(247, 41%, 48%)
CMYKcmyk(36.6%, 41.5%, 0%, 51.8%)
CIE-LABlab(33.32, 15.61, -28.17)
CIE-LCHlch(33.32, 32.21, 298.99°)
OKLaboklab(43.12% 0.0254 -0.079)
OKLCHoklch(43.12% 0.083 287.8)
XYZxyz(9.0334, 7.6842, 19.7423)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E487B #757B48
analogous
#485B7B #4E487B #67487B
triadic
#4E487B #7B4E48 #487B4E
tetradic
#4E487B #7B485B #757B48 #487B67
square
#4E487B #7B485B #757B48 #487B67
split-complementary
#4E487B #7B6748 #5B7B48
monochromatic
#1D1B2E #363154 #4E487B #675FA1 #8B86B8

Accessibility & contrast

On white

8.28
#4E487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E487B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E487B#FFFFFF#000000##FFFFFF
##4E487B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#42525B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e487b;
/* rgb */ color: rgb(78, 72, 123);
/* oklch */ color: oklch(43.1% 0.083 287.8);
Tailwind
colors: {
  custom: {
    50: '#817ba1',
    500: '#4e487b',
    950: '#000000',
  },
}
SCSS
$custom: #4e487b;
$custom-light: #817ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e487b",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 247.059,
    "s": 26.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.08301,
    "h": 287.8
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#4E487B
secondary
#9FA47B
accent
#C365B8
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090F
muted
#7C7B7E

Preview Lab

Preview with #4E487B

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

Preview Lab → · Contrast checker → · Palette generator →

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