#4E538C#4E538C

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

Color values

HEX#4E538C
RGBrgb(78, 83, 140)
HSLhsl(235, 28%, 43%)
HSVhsv(235, 44%, 55%)
CMYKcmyk(44.3%, 40.7%, 0%, 45.1%)
CIE-LABlab(37.30, 13.69, -32.35)
CIE-LCHlch(37.30, 35.13, 292.94°)
OKLaboklab(46.46% 0.0134 -0.0912)
OKLCHoklch(46.46% 0.092 278.4)
XYZxyz(10.9673, 9.6992, 26.1001)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E538C #8C874E
analogous
#4E728C #4E538C #684E8C
triadic
#4E538C #8C4E53 #538C4E
tetradic
#4E538C #8C4E72 #8C874E #4E8C68
square
#4E538C #8C4E72 #8C874E #4E8C68
split-complementary
#4E538C #8C684E #728C4E
monochromatic
#22243D #383C65 #4E538C #6B70AC #9296C2

Accessibility & contrast

On white

7.14
#4E538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E538C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E538C#FFFFFF#000000##FFFFFF
##4E538C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#3A558B
Tritanopia (blue-blind)
#3A5F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e538c;
/* rgb */ color: rgb(78, 83, 140);
/* oklch */ color: oklch(46.5% 0.092 278.4);
Tailwind
colors: {
  custom: {
    50: '#8383ae',
    500: '#4e538c',
    950: '#000000',
  },
}
SCSS
$custom: #4e538c;
$custom-light: #8383ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e538c",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 235.161,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.09215,
    "h": 278.4
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E538C

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

Preview Lab → · Contrast checker → · Palette generator →

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