#4E538D#4E538D

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

Color values

HEX#4E538D
RGBrgb(78, 83, 141)
HSLhsl(235, 29%, 43%)
HSVhsv(235, 45%, 55%)
CMYKcmyk(44.7%, 41.1%, 0%, 44.7%)
CIE-LABlab(37.35, 14.01, -32.87)
CIE-LCHlch(37.35, 35.73, 293.08°)
OKLaboklab(46.52% 0.0136 -0.0927)
OKLCHoklch(46.52% 0.094 278.4)
XYZxyz(11.0414, 9.7288, 26.4902)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E538D #8D884E
analogous
#4E728D #4E538D #684E8D
triadic
#4E538D #8D4E53 #538D4E
tetradic
#4E538D #8D4E72 #8D884E #4E8D68
square
#4E538D #8D4E72 #8D884E #4E8D68
split-complementary
#4E538D #8D684E #728D4E
monochromatic
#22253E #383C66 #4E538D #6B70AD #9296C3

Accessibility & contrast

On white

7.13
#4E538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E538D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E538D#FFFFFF#000000##FFFFFF
##4E538D1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#395F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e538d;
/* rgb */ color: rgb(78, 83, 141);
/* oklch */ color: oklch(46.5% 0.094 278.4);
Tailwind
colors: {
  custom: {
    50: '#8383ae',
    500: '#4e538d',
    950: '#000000',
  },
}
SCSS
$custom: #4e538d;
$custom-light: #8383ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e538d",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 235.238,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46523,
    "c": 0.09369,
    "h": 278.4
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#4E538D
secondary
#AFAC87
accent
#BD63C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E538D

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

Preview Lab → · Contrast checker → · Palette generator →

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