#4D4E98#4D4E98

#4D4E98 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.1% C 0.118 H 280.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4D4E98
RGBrgb(77, 78, 152)
HSLhsl(239, 33%, 45%)
HSVhsv(239, 49%, 60%)
CMYKcmyk(49.3%, 48.7%, 0%, 40.4%)
CIE-LABlab(36.54, 20.47, -40.83)
CIE-LCHlch(36.54, 45.67, 296.63°)
OKLaboklab(46.1% 0.0207 -0.116)
OKLCHoklch(46.1% 0.118 280.1)
XYZxyz(11.4507, 9.2929, 30.8900)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E98 #98974D
analogous
#4D7498 #4D4E98 #724D98
triadic
#4D4E98 #984D4E #4E984D
tetradic
#4D4E98 #984D74 #98974D #4D9872
square
#4D4E98 #984D74 #98974D #4D9872
split-complementary
#4D4E98 #98724D #74984D
monochromatic
#242447 #38396F #4D4E98 #6D6EB5 #9696CA

Accessibility & contrast

On white

7.35
#4D4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4D4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E98
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E98#FFFFFF#000000##FFFFFF
##4D4E981.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#315E6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4d4e98;
/* rgb */ color: rgb(77, 78, 152);
/* oklch */ color: oklch(46.1% 0.118 280.1);
Tailwind
colors: {
  custom: {
    50: '#847fb7',
    500: '#4d4e98',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e98;
$custom-light: #847fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e98",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 239.2,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.11788,
    "h": 280.1
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#4D4E98
secondary
#B6B68B
accent
#C75FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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