#4E597F#4E597F

#4E597F is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.063 H 271.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4E597F
RGBrgb(78, 89, 127)
HSLhsl(227, 24%, 40%)
HSVhsv(227, 39%, 50%)
CMYKcmyk(38.6%, 29.9%, 0%, 50.2%)
CIE-LABlab(38.37, 5.90, -22.74)
CIE-LCHlch(38.37, 23.49, 284.54°)
OKLaboklab(47.08% 0.0016 -0.0633)
OKLCHoklch(47.08% 0.063 271.4)
XYZxyz(10.5439, 10.2963, 21.5064)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E597F #7F744E
analogous
#4E717F #4E597F #5C4E7F
triadic
#4E597F #7F4E59 #597F4E
tetradic
#4E597F #7F4E71 #7F744E #4E7F5C
square
#4E597F #7F4E71 #7F744E #4E7F5C
split-complementary
#4E597F #7F5C4E #717F4E
monochromatic
#1F2433 #373E59 #4E597F #6875A2 #8E98BA

Accessibility & contrast

On white

6.86
#4E597F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E597F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E597F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E597F#FFFFFF#000000##FFFFFF
##4E597F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#3F6166
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e597f;
/* rgb */ color: rgb(78, 89, 127);
/* oklch */ color: oklch(47.1% 0.063 271.4);
Tailwind
colors: {
  custom: {
    50: '#8187a4',
    500: '#4e597f',
    950: '#000000',
  },
}
SCSS
$custom: #4e597f;
$custom-light: #8187a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e597f",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 127
  },
  "hsl": {
    "h": 226.531,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.06334,
    "h": 271.4
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#4E597F
secondary
#A69E83
accent
#AC67C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E597F

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

Preview Lab → · Contrast checker → · Palette generator →

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