#4D4C8F#4D4C8F

#4D4C8F is a mid, moderate blue. Relative luminance 0.087; OKLCH L 45.1% C 0.107 H 281.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4D4C8F
RGBrgb(77, 76, 143)
HSLhsl(241, 31%, 43%)
HSVhsv(241, 47%, 56%)
CMYKcmyk(46.2%, 46.9%, 0%, 43.9%)
CIE-LABlab(35.46, 18.88, -37.10)
CIE-LCHlch(35.46, 41.63, 296.98°)
OKLaboklab(45.1% 0.0221 -0.1051)
OKLCHoklch(45.1% 0.107 281.9)
XYZxyz(10.6015, 8.7293, 27.1076)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C8F #8E8F4C
analogous
#4C6C8F #4D4C8F #6F4C8F
triadic
#4D4C8F #8F4D4C #4C8F4D
tetradic
#4D4C8F #8F4C6C #8E8F4C #4C8F6F
square
#4D4C8F #8F4C6C #8E8F4C #4C8F6F
split-complementary
#4D4C8F #8F6F4C #6C8F4C
monochromatic
#22223F #373767 #4D4C8F #6A69AF #9291C4

Accessibility & contrast

On white

7.65
#4D4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4D4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4C8F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C8F#FFFFFF#000000##FFFFFF
##4D4C8F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#375A66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4c8f;
/* rgb */ color: rgb(77, 76, 143);
/* oklch */ color: oklch(45.1% 0.107 281.9);
Tailwind
colors: {
  custom: {
    50: '#837eb0',
    500: '#4d4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c8f;
$custom-light: #837eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c8f",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 240.896,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45098,
    "c": 0.10741,
    "h": 281.9
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#4D4C8F
secondary
#B0B186
accent
#C761C5
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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