#4E507F#4E507F

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

Color values

HEX#4E507F
RGBrgb(78, 80, 127)
HSLhsl(238, 24%, 40%)
HSVhsv(238, 39%, 50%)
CMYKcmyk(38.6%, 37%, 0%, 50.2%)
CIE-LABlab(35.77, 11.63, -26.79)
CIE-LCHlch(35.77, 29.21, 293.47°)
OKLaboklab(45.07% 0.0146 -0.075)
OKLCHoklch(45.07% 0.076 281)
XYZxyz(9.8402, 8.8890, 21.2718)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E507F #7F7D4E
analogous
#4E687F #4E507F #644E7F
triadic
#4E507F #7F4E50 #507F4E
tetradic
#4E507F #7F4E68 #7F7D4E #4E7F64
square
#4E507F #7F4E68 #7F7D4E #4E7F64
split-complementary
#4E507F #7F644E #687F4E
monochromatic
#1F2033 #373859 #4E507F #686AA2 #8E90BA

Accessibility & contrast

On white

7.56
#4E507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E507F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E507F#FFFFFF#000000##FFFFFF
##4E507F1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#3E527E
Tritanopia (blue-blind)
#405961
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e507f;
/* rgb */ color: rgb(78, 80, 127);
/* oklch */ color: oklch(45.1% 0.076 281.0);
Tailwind
colors: {
  custom: {
    50: '#8181a4',
    500: '#4e507f',
    950: '#000000',
  },
}
SCSS
$custom: #4e507f;
$custom-light: #8181a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e507f",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 237.551,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.07643,
    "h": 281
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#4E507F
secondary
#A6A583
accent
#BD67C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E507F

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

Preview Lab → · Contrast checker → · Palette generator →

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