#4D4E9C#4D4E9C

#4D4E9C is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.124 H 279.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4D4E9C
RGBrgb(77, 78, 156)
HSLhsl(239, 34%, 46%)
HSVhsv(239, 51%, 61%)
CMYKcmyk(50.6%, 50%, 0%, 38.8%)
CIE-LABlab(36.79, 21.77, -42.84)
CIE-LCHlch(36.79, 48.05, 296.93°)
OKLaboklab(46.37% 0.0212 -0.1219)
OKLCHoklch(46.37% 0.124 279.9)
XYZxyz(11.7839, 9.4262, 32.6446)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E9C #9C9B4D
analogous
#4D759C #4D4E9C #734D9C
triadic
#4D4E9C #9C4D4E #4E9C4D
tetradic
#4D4E9C #9C4D75 #9C9B4D #4D9C73
square
#4D4E9C #9C4D75 #9C9B4D #4D9C73
split-complementary
#4D4E9C #9C734D #759C4D
monochromatic
#25254A #393A73 #4D4E9C #6F6FB8 #9798CC

Accessibility & contrast

On white

7.28
#4D4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4D4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E9C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E9C#FFFFFF#000000##FFFFFF
##4D4E9C1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#23549A
Tritanopia (blue-blind)
#2F5F6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d4e9c;
/* rgb */ color: rgb(77, 78, 156);
/* oklch */ color: oklch(46.4% 0.124 279.9);
Tailwind
colors: {
  custom: {
    50: '#847fba',
    500: '#4d4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e9c;
$custom-light: #847fba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e9c",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 239.241,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.12378,
    "h": 279.9
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#4D4E9C
secondary
#B8B88C
accent
#C95ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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