#4D4C8B#4D4C8B

#4D4C8B is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.8% C 0.101 H 282.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4D4C8B
RGBrgb(77, 76, 139)
HSLhsl(241, 29%, 42%)
HSVhsv(241, 45%, 55%)
CMYKcmyk(44.6%, 45.3%, 0%, 45.5%)
CIE-LABlab(35.22, 17.62, -35.03)
CIE-LCHlch(35.22, 39.21, 296.70°)
OKLaboklab(44.84% 0.0215 -0.0991)
OKLCHoklch(44.84% 0.101 282.2)
XYZxyz(10.3038, 8.6103, 25.5401)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4C8B #8A8B4C
analogous
#4C6B8B #4D4C8B #6C4C8B
triadic
#4D4C8B #8B4D4C #4C8B4D
tetradic
#4D4C8B #8B4C6B #8A8B4C #4C8B6C
square
#4D4C8B #8B4C6B #8A8B4C #4C8B6C
split-complementary
#4D4C8B #8B6C4C #6B8B4C
monochromatic
#21213C #373663 #4D4C8B #6968AC #908FC2

Accessibility & contrast

On white

7.71
#4D4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D4C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4C8B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4C8B#FFFFFF#000000##FFFFFF
##4D4C8B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#395964
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4c8b;
/* rgb */ color: rgb(77, 76, 139);
/* oklch */ color: oklch(44.8% 0.101 282.2);
Tailwind
colors: {
  custom: {
    50: '#827ead',
    500: '#4d4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #4d4c8b;
$custom-light: #827ead;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4c8b",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 240.952,
    "s": 29.302,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.10136,
    "h": 282.2
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#4D4C8B
secondary
#AEAE85
accent
#C662C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4D4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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