#4E4870#4E4870

#4E4870 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.5% C 0.066 H 290.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4E4870
RGBrgb(78, 72, 112)
HSLhsl(249, 22%, 36%)
HSVhsv(249, 36%, 44%)
CMYKcmyk(30.4%, 35.7%, 0%, 56.1%)
CIE-LABlab(32.75, 12.42, -22.18)
CIE-LCHlch(32.75, 25.42, 299.26°)
OKLaboklab(42.51% 0.0227 -0.0617)
OKLCHoklch(42.51% 0.066 290.2)
XYZxyz(8.3831, 7.4241, 16.3174)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4870 #6A7048
analogous
#485670 #4E4870 #624870
triadic
#4E4870 #704E48 #48704E
tetradic
#4E4870 #704856 #6A7048 #487062
square
#4E4870 #704856 #6A7048 #487062
split-complementary
#4E4870 #706248 #567048
monochromatic
#1A1825 #34304B #4E4870 #686095 #8A83AF

Accessibility & contrast

On white

8.45
#4E4870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E4870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4870
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4870#FFFFFF#000000##FFFFFF
##4E48701.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E72
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#464F57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4870;
/* rgb */ color: rgb(78, 72, 112);
/* oklch */ color: oklch(42.5% 0.066 290.2);
Tailwind
colors: {
  custom: {
    50: '#807b99',
    500: '#4e4870',
    950: '#000000',
  },
}
SCSS
$custom: #4e4870;
$custom-light: #807b99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4870",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 249,
    "s": 21.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.06573,
    "h": 290.2
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#4E4870
secondary
#969C78
accent
#BE6AB2
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4870

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

Preview Lab → · Contrast checker → · Palette generator →

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