#4D4F86#4D4F86

#4D4F86 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.2% C 0.089 H 280.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4D4F86
RGBrgb(77, 79, 134)
HSLhsl(238, 27%, 41%)
HSVhsv(238, 43%, 53%)
CMYKcmyk(42.5%, 41%, 0%, 47.5%)
CIE-LABlab(35.77, 14.12, -31.10)
CIE-LCHlch(35.77, 34.15, 294.43°)
OKLaboklab(45.17% 0.0164 -0.0876)
OKLCHoklch(45.17% 0.089 280.6)
XYZxyz(10.1584, 8.8905, 23.7304)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F86 #86844D
analogous
#4D6C86 #4D4F86 #684D86
triadic
#4D4F86 #864D4F #4F864D
tetradic
#4D4F86 #864D6C #86844D #4D8668
square
#4D4F86 #864D6C #86844D #4D8668
split-complementary
#4D4F86 #86684D #6C864D
monochromatic
#202138 #37385F #4D4F86 #686AA8 #8F91BF

Accessibility & contrast

On white

7.56
#4D4F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D4F86
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F86#FFFFFF#000000##FFFFFF
##4D4F861.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5688
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#3C5A64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d4f86;
/* rgb */ color: rgb(77, 79, 134);
/* oklch */ color: oklch(45.2% 0.089 280.6);
Tailwind
colors: {
  custom: {
    50: '#8280a9',
    500: '#4d4f86',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f86;
$custom-light: #8280a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f86",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 237.895,
    "s": 27.014,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.08909,
    "h": 280.6
  },
  "luminance": 0.08891
}

Semantic roles & 50–950 ramp

primary
#4D4F86
secondary
#ABAA84
accent
#C064C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4F86

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

Preview Lab → · Contrast checker → · Palette generator →

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