#4D4E95#4D4E95

#4D4E95 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.9% C 0.113 H 280.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4D4E95
RGBrgb(77, 78, 149)
HSLhsl(239, 32%, 44%)
HSVhsv(239, 48%, 58%)
CMYKcmyk(48.3%, 47.7%, 0%, 41.6%)
CIE-LABlab(36.36, 19.50, -39.31)
CIE-LCHlch(36.36, 43.88, 296.39°)
OKLaboklab(45.9% 0.0204 -0.1116)
OKLCHoklch(45.9% 0.113 280.3)
XYZxyz(11.2081, 9.1959, 29.6124)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E95 #95944D
analogous
#4D7295 #4D4E95 #704D95
triadic
#4D4E95 #954D4E #4E954D
tetradic
#4D4E95 #954D72 #95944D #4D9570
square
#4D4E95 #954D72 #95944D #4D9570
split-complementary
#4D4E95 #95704D #72954D
monochromatic
#232444 #38396D #4D4E95 #6C6DB3 #9495C8

Accessibility & contrast

On white

7.40
#4D4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4D4E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E95
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E95#FFFFFF#000000##FFFFFF
##4D4E951.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#2B5393
Tritanopia (blue-blind)
#335D6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d4e95;
/* rgb */ color: rgb(77, 78, 149);
/* oklch */ color: oklch(45.9% 0.113 280.3);
Tailwind
colors: {
  custom: {
    50: '#837fb4',
    500: '#4d4e95',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e95;
$custom-light: #837fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e95",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 239.167,
    "s": 31.858,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.11342,
    "h": 280.3
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#4D4E95
secondary
#B4B489
accent
#C760C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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