#4E507D#4E507D

#4E507D is a dark, moderate blue. Relative luminance 0.088; OKLCH L 45.0% C 0.073 H 281.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4E507D
RGBrgb(78, 80, 125)
HSLhsl(237, 23%, 40%)
HSVhsv(237, 38%, 49%)
CMYKcmyk(37.6%, 36%, 0%, 51%)
CIE-LABlab(35.67, 11.04, -25.72)
CIE-LCHlch(35.67, 27.98, 293.23°)
OKLaboklab(44.96% 0.0141 -0.0719)
OKLCHoklch(44.96% 0.073 281.1)
XYZxyz(9.7112, 8.8374, 20.5922)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E507D #7D7B4E
analogous
#4E687D #4E507D #644E7D
triadic
#4E507D #7D4E50 #507D4E
tetradic
#4E507D #7D4E68 #7D7B4E #4E7D64
square
#4E507D #7D4E68 #7D7B4E #4E7D64
split-complementary
#4E507D #7D644E #687D4E
monochromatic
#1F2032 #363857 #4E507D #686AA1 #8D8FB8

Accessibility & contrast

On white

7.59
#4E507D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4E507D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E507D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E507D#FFFFFF#000000##FFFFFF
##4E507D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#415960
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e507d;
/* rgb */ color: rgb(78, 80, 125);
/* oklch */ color: oklch(45.0% 0.073 281.1);
Tailwind
colors: {
  custom: {
    50: '#8181a3',
    500: '#4e507d',
    950: '#000000',
  },
}
SCSS
$custom: #4e507d;
$custom-light: #8181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e507d",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 237.447,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44959,
    "c": 0.07327,
    "h": 281.1
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#4E507D
secondary
#A5A382
accent
#BC68C0
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E507D

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

Preview Lab → · Contrast checker → · Palette generator →

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