#4E507E#4E507E

#4E507E is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.075 H 281.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4E507E
RGBrgb(78, 80, 126)
HSLhsl(238, 24%, 40%)
HSVhsv(238, 38%, 49%)
CMYKcmyk(38.1%, 36.5%, 0%, 50.6%)
CIE-LABlab(35.72, 11.33, -26.25)
CIE-LCHlch(35.72, 28.60, 293.35°)
OKLaboklab(45.01% 0.0143 -0.0735)
OKLCHoklch(45.01% 0.075 281)
XYZxyz(9.7754, 8.8630, 20.9303)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E507E #7E7C4E
analogous
#4E687E #4E507E #644E7E
triadic
#4E507E #7E4E50 #507E4E
tetradic
#4E507E #7E4E68 #7E7C4E #4E7E64
square
#4E507E #7E4E68 #7E7C4E #4E7E64
split-complementary
#4E507E #7E644E #687E4E
monochromatic
#1F2032 #373858 #4E507E #686AA1 #8E8FB9

Accessibility & contrast

On white

7.57
#4E507E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E507E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E507E#FFFFFF#000000##FFFFFF
##4E507E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#3F527D
Tritanopia (blue-blind)
#415961
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e507e;
/* rgb */ color: rgb(78, 80, 126);
/* oklch */ color: oklch(45.0% 0.075 281.0);
Tailwind
colors: {
  custom: {
    50: '#8181a3',
    500: '#4e507e',
    950: '#000000',
  },
}
SCSS
$custom: #4e507e;
$custom-light: #8181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e507e",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 237.5,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.07485,
    "h": 281
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#4E507E
secondary
#A6A482
accent
#BC68C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E507E

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

Preview Lab → · Contrast checker → · Palette generator →

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