#4E4F82#4E4F82

#4E4F82 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.0% C 0.083 H 281.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E4F82
RGBrgb(78, 79, 130)
HSLhsl(239, 25%, 41%)
HSVhsv(239, 40%, 51%)
CMYKcmyk(40%, 39.2%, 0%, 49%)
CIE-LABlab(35.64, 13.18, -28.84)
CIE-LCHlch(35.64, 31.71, 294.57°)
OKLaboklab(45.02% 0.0168 -0.081)
OKLCHoklch(45.02% 0.083 281.7)
XYZxyz(9.9660, 8.8230, 22.2927)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F82 #82814E
analogous
#4E6982 #4E4F82 #674E82
triadic
#4E4F82 #824E4F #4F824E
tetradic
#4E4F82 #824E69 #82814E #4E8267
square
#4E4F82 #824E69 #82814E #4E8267
split-complementary
#4E4F82 #82674E #69824E
monochromatic
#202135 #37385C #4E4F82 #686AA5 #8F90BC

Accessibility & contrast

On white

7.60
#4E4F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E4F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F82
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F82#FFFFFF#000000##FFFFFF
##4E4F821.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5684
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#3F5962
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4f82;
/* rgb */ color: rgb(78, 79, 130);
/* oklch */ color: oklch(45.0% 0.083 281.7);
Tailwind
colors: {
  custom: {
    50: '#8280a6',
    500: '#4e4f82',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f82;
$custom-light: #8280a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f82",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 238.846,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.08269,
    "h": 281.7
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#4E4F82
secondary
#A8A884
accent
#C066C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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