#4E4F84#4E4F84

#4E4F84 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.1% C 0.086 H 281.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4E4F84
RGBrgb(78, 79, 132)
HSLhsl(239, 26%, 41%)
HSVhsv(239, 41%, 52%)
CMYKcmyk(40.9%, 40.2%, 0%, 48.2%)
CIE-LABlab(35.75, 13.79, -29.90)
CIE-LCHlch(35.75, 32.93, 294.76°)
OKLaboklab(45.14% 0.0172 -0.0841)
OKLCHoklch(45.14% 0.086 281.6)
XYZxyz(10.1015, 8.8772, 23.0065)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F84 #84834E
analogous
#4E6A84 #4E4F84 #684E84
triadic
#4E4F84 #844E4F #4F844E
tetradic
#4E4F84 #844E6A #84834E #4E8468
square
#4E4F84 #844E6A #84834E #4E8468
split-complementary
#4E4F84 #84684E #6A844E
monochromatic
#212137 #37385E #4E4F84 #696AA6 #8F90BD

Accessibility & contrast

On white

7.57
#4E4F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4E4F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F84
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F84#FFFFFF#000000##FFFFFF
##4E4F841.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5686
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#3E5963
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4f84;
/* rgb */ color: rgb(78, 79, 132);
/* oklch */ color: oklch(45.1% 0.086 281.6);
Tailwind
colors: {
  custom: {
    50: '#8280a8',
    500: '#4e4f84',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f84;
$custom-light: #8280a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f84",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 238.889,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.08581,
    "h": 281.6
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#4E4F84
secondary
#AAA984
accent
#C066C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4F84

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

Preview Lab → · Contrast checker → · Palette generator →

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