#4E507C#4E507C

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

Color values

HEX#4E507C
RGBrgb(78, 80, 124)
HSLhsl(237, 23%, 40%)
HSVhsv(237, 37%, 49%)
CMYKcmyk(37.1%, 35.5%, 0%, 51.4%)
CIE-LABlab(35.62, 10.74, -25.18)
CIE-LCHlch(35.62, 27.37, 293.10°)
OKLaboklab(44.91% 0.0138 -0.0703)
OKLCHoklch(44.91% 0.072 281.1)
XYZxyz(9.6476, 8.8119, 20.2574)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E507C #7C7A4E
analogous
#4E677C #4E507C #634E7C
triadic
#4E507C #7C4E50 #507C4E
tetradic
#4E507C #7C4E67 #7C7A4E #4E7C63
square
#4E507C #7C4E67 #7C7A4E #4E7C63
split-complementary
#4E507C #7C634E #677C4E
monochromatic
#1F2031 #363856 #4E507C #676AA0 #8D8FB7

Accessibility & contrast

On white

7.60
#4E507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E507C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E507C#FFFFFF#000000##FFFFFF
##4E507C1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557E
Deuteranopia (green-blind)
#40527B
Tritanopia (blue-blind)
#415860
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e507c;
/* rgb */ color: rgb(78, 80, 124);
/* oklch */ color: oklch(44.9% 0.072 281.1);
Tailwind
colors: {
  custom: {
    50: '#8181a2',
    500: '#4e507c',
    950: '#000000',
  },
}
SCSS
$custom: #4e507c;
$custom-light: #8181a2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e507c",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 237.391,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.07169,
    "h": 281.1
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#4E507C
secondary
#A4A382
accent
#BB69BF
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E507C

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

Preview Lab → · Contrast checker → · Palette generator →

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