#4D4E9F#4D4E9F

#4D4E9F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.128 H 279.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4D4E9F
RGBrgb(77, 78, 159)
HSLhsl(239, 35%, 46%)
HSVhsv(239, 52%, 62%)
CMYKcmyk(51.6%, 50.9%, 0%, 37.6%)
CIE-LABlab(36.98, 22.74, -44.33)
CIE-LCHlch(36.98, 49.83, 297.15°)
OKLaboklab(46.57% 0.0215 -0.1263)
OKLCHoklch(46.57% 0.128 279.7)
XYZxyz(12.0410, 9.5291, 33.9990)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E9F #9F9E4D
analogous
#4D779F #4D4E9F #754D9F
triadic
#4D4E9F #9F4D4E #4E9F4D
tetradic
#4D4E9F #9F4D77 #9F9E4D #4D9F75
square
#4D4E9F #9F4D77 #9F9E4D #4D9F75
split-complementary
#4D4E9F #9F754D #779F4D
monochromatic
#25264D #393A76 #4D4E9F #7071BA #999ACE

Accessibility & contrast

On white

7.23
#4D4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4D4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E9F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E9F#FFFFFF#000000##FFFFFF
##4D4E9F1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#1F549D
Tritanopia (blue-blind)
#2C606F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d4e9f;
/* rgb */ color: rgb(77, 78, 159);
/* oklch */ color: oklch(46.6% 0.128 279.7);
Tailwind
colors: {
  custom: {
    50: '#857fbc',
    500: '#4d4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e9f;
$custom-light: #857fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e9f",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 239.268,
    "s": 34.746,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4657,
    "c": 0.12816,
    "h": 279.7
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#4D4E9F
secondary
#BABA8E
accent
#C95DCB
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4D4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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