#4E507B#4E507B

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

Color values

HEX#4E507B
RGBrgb(78, 80, 123)
HSLhsl(237, 22%, 39%)
HSVhsv(237, 37%, 48%)
CMYKcmyk(36.6%, 35%, 0%, 51.8%)
CIE-LABlab(35.57, 10.44, -24.63)
CIE-LCHlch(35.57, 26.76, 292.97°)
OKLaboklab(44.85% 0.0135 -0.0688)
OKLCHoklch(44.85% 0.07 281.1)
XYZxyz(9.5847, 8.7868, 19.9261)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E507B #7B794E
analogous
#4E677B #4E507B #634E7B
triadic
#4E507B #7B4E50 #507B4E
tetradic
#4E507B #7B4E67 #7B794E #4E7B63
square
#4E507B #7B4E67 #7B794E #4E7B63
split-complementary
#4E507B #7B634E #677B4E
monochromatic
#1F1F30 #363856 #4E507B #676A9F #8D8FB7

Accessibility & contrast

On white

7.62
#4E507B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E507B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E507B#FFFFFF#000000##FFFFFF
##4E507B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557D
Deuteranopia (green-blind)
#40527A
Tritanopia (blue-blind)
#425860
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e507b;
/* rgb */ color: rgb(78, 80, 123);
/* oklch */ color: oklch(44.9% 0.070 281.1);
Tailwind
colors: {
  custom: {
    50: '#8181a1',
    500: '#4e507b',
    950: '#000000',
  },
}
SCSS
$custom: #4e507b;
$custom-light: #8181a1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e507b",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 237.333,
    "s": 22.388,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.07011,
    "h": 281.1
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#4E507B
secondary
#A3A281
accent
#BB69BF
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0F
muted
#7C7C7E

Preview Lab

Preview with #4E507B

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

Preview Lab → · Contrast checker → · Palette generator →

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