#4E538A#4E538A

#4E538A is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.089 H 278.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4E538A
RGBrgb(78, 83, 138)
HSLhsl(235, 28%, 42%)
HSVhsv(235, 43%, 54%)
CMYKcmyk(43.5%, 39.9%, 0%, 45.9%)
CIE-LABlab(37.19, 13.07, -31.30)
CIE-LCHlch(37.19, 33.92, 292.66°)
OKLaboklab(46.35% 0.013 -0.0881)
OKLCHoklch(46.35% 0.089 278.4)
XYZxyz(10.8212, 9.6407, 25.3305)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E538A #8A854E
analogous
#4E718A #4E538A #674E8A
triadic
#4E538A #8A4E53 #538A4E
tetradic
#4E538A #8A4E71 #8A854E #4E8A67
square
#4E538A #8A4E71 #8A854E #4E8A67
split-complementary
#4E538A #8A674E #718A4E
monochromatic
#22243C #383B63 #4E538A #6A70AB #9195C1

Accessibility & contrast

On white

7.17
#4E538A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E538A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E538A#FFFFFF#000000##FFFFFF
##4E538A1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#3C5589
Tritanopia (blue-blind)
#3B5E68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e538a;
/* rgb */ color: rgb(78, 83, 138);
/* oklch */ color: oklch(46.3% 0.089 278.4);
Tailwind
colors: {
  custom: {
    50: '#8283ac',
    500: '#4e538a',
    950: '#000000',
  },
}
SCSS
$custom: #4e538a;
$custom-light: #8283ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e538a",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 235,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.08907,
    "h": 278.4
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#4E538A
secondary
#AEAA86
accent
#BC64C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E538A

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

Preview Lab → · Contrast checker → · Palette generator →

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