#4E4875#4E4875

#4E4875 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.074 H 289.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4E4875
RGBrgb(78, 72, 117)
HSLhsl(248, 24%, 37%)
HSVhsv(248, 38%, 46%)
CMYKcmyk(33.3%, 38.5%, 0%, 54.1%)
CIE-LABlab(33.00, 13.85, -24.92)
CIE-LCHlch(33.00, 28.51, 299.07°)
OKLaboklab(42.78% 0.024 -0.0696)
OKLCHoklch(42.78% 0.074 289)
XYZxyz(8.6693, 7.5386, 17.8245)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4875 #6F7548
analogous
#485975 #4E4875 #654875
triadic
#4E4875 #754E48 #48754E
tetradic
#4E4875 #754859 #6F7548 #487565
square
#4E4875 #754859 #6F7548 #487565
split-complementary
#4E4875 #756548 #597548
monochromatic
#1B1929 #35314F #4E4875 #675F9B #8A84B3

Accessibility & contrast

On white

8.37
#4E4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E4875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4875
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4875#FFFFFF#000000##FFFFFF
##4E48751.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F77
Deuteranopia (green-blind)
#3B4D74
Tritanopia (blue-blind)
#455059
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4875;
/* rgb */ color: rgb(78, 72, 117);
/* oklch */ color: oklch(42.8% 0.074 289.0);
Tailwind
colors: {
  custom: {
    50: '#817b9d',
    500: '#4e4875',
    950: '#000000',
  },
}
SCSS
$custom: #4e4875;
$custom-light: #817b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4875",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 248,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.07362,
    "h": 289
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#4E4875
secondary
#9AA079
accent
#C068B4
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4875

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

Preview Lab → · Contrast checker → · Palette generator →

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