#4E457F#4E457F

#4E457F is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.7% C 0.094 H 288.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E457F
RGBrgb(78, 69, 127)
HSLhsl(249, 30%, 38%)
HSVhsv(249, 46%, 50%)
CMYKcmyk(38.6%, 45.7%, 0%, 50.2%)
CIE-LABlab(32.72, 18.74, -31.60)
CIE-LCHlch(32.72, 36.74, 300.67°)
OKLaboklab(42.74% 0.0305 -0.089)
OKLCHoklch(42.74% 0.094 288.9)
XYZxyz(9.0997, 7.4080, 21.0250)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E457F #767F45
analogous
#45597F #4E457F #6B457F
triadic
#4E457F #7F4E45 #457F4E
tetradic
#4E457F #7F4559 #767F45 #457F6B
square
#4E457F #7F4559 #767F45 #457F6B
split-complementary
#4E457F #7F6B45 #597F45
monochromatic
#1D1A30 #362F57 #4E457F #675BA6 #8C83BC

Accessibility & contrast

On white

8.46
#4E457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E457F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E457F#FFFFFF#000000##FFFFFF
##4E457F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#41505C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e457f;
/* rgb */ color: rgb(78, 69, 127);
/* oklch */ color: oklch(42.7% 0.094 288.9);
Tailwind
colors: {
  custom: {
    50: '#8278a4',
    500: '#4e457f',
    950: '#000000',
  },
}
SCSS
$custom: #4e457f;
$custom-light: #8278a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e457f",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 249.31,
    "s": 29.592,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.09412,
    "h": 288.9
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#4E457F
secondary
#A0A779
accent
#C662B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E457F

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

Preview Lab → · Contrast checker → · Palette generator →

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