#4E5388#4E5388

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

Color values

HEX#4E5388
RGBrgb(78, 83, 136)
HSLhsl(235, 27%, 42%)
HSVhsv(235, 43%, 53%)
CMYKcmyk(42.6%, 39%, 0%, 46.7%)
CIE-LABlab(37.08, 12.45, -30.25)
CIE-LCHlch(37.08, 32.71, 292.37°)
OKLaboklab(46.23% 0.0125 -0.085)
OKLCHoklch(46.23% 0.086 278.4)
XYZxyz(10.6778, 9.5833, 24.5749)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5388 #88834E
analogous
#4E7088 #4E5388 #664E88
triadic
#4E5388 #884E53 #53884E
tetradic
#4E5388 #884E70 #88834E #4E8866
square
#4E5388 #884E70 #88834E #4E8866
split-complementary
#4E5388 #88664E #70884E
monochromatic
#21243A #383B61 #4E5388 #6A6FA9 #9195C0

Accessibility & contrast

On white

7.20
#4E5388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E5388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5388
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5388#FFFFFF#000000##FFFFFF
##4E53881.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8A
Deuteranopia (green-blind)
#3D5587
Tritanopia (blue-blind)
#3C5E67
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5388;
/* rgb */ color: rgb(78, 83, 136);
/* oklch */ color: oklch(46.2% 0.086 278.4);
Tailwind
colors: {
  custom: {
    50: '#8283ab',
    500: '#4e5388',
    950: '#000000',
  },
}
SCSS
$custom: #4e5388;
$custom-light: #8283ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5388",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 136
  },
  "hsl": {
    "h": 234.828,
    "s": 27.103,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.08597,
    "h": 278.4
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#4E5388
secondary
#ACA986
accent
#BB64C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E5388

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

Preview Lab → · Contrast checker → · Palette generator →

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