#4E538B#4E538B

#4E538B is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.4% C 0.091 H 278.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4E538B
RGBrgb(78, 83, 139)
HSLhsl(235, 28%, 43%)
HSVhsv(235, 44%, 55%)
CMYKcmyk(43.9%, 40.3%, 0%, 45.5%)
CIE-LABlab(37.24, 13.38, -31.82)
CIE-LCHlch(37.24, 34.52, 292.80°)
OKLaboklab(46.41% 0.0132 -0.0896)
OKLCHoklch(46.41% 0.091 278.4)
XYZxyz(10.8940, 9.6698, 25.7135)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E538B #8B864E
analogous
#4E718B #4E538B #674E8B
triadic
#4E538B #8B4E53 #538B4E
tetradic
#4E538B #8B4E71 #8B864E #4E8B67
square
#4E538B #8B4E71 #8B864E #4E8B67
split-complementary
#4E538B #8B674E #718B4E
monochromatic
#22243D #383C64 #4E538B #6B70AC #9296C2

Accessibility & contrast

On white

7.16
#4E538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E538B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E538B#FFFFFF#000000##FFFFFF
##4E538B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8D
Deuteranopia (green-blind)
#3B558A
Tritanopia (blue-blind)
#3A5E68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e538b;
/* rgb */ color: rgb(78, 83, 139);
/* oklch */ color: oklch(46.4% 0.091 278.4);
Tailwind
colors: {
  custom: {
    50: '#8383ad',
    500: '#4e538b',
    950: '#000000',
  },
}
SCSS
$custom: #4e538b;
$custom-light: #8383ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e538b",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 235.082,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.09062,
    "h": 278.4
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#4E538B
secondary
#AEAB87
accent
#BC63C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E538B

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

Preview Lab → · Contrast checker → · Palette generator →

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