#4D4E81#4D4E81

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

Color values

HEX#4D4E81
RGBrgb(77, 78, 129)
HSLhsl(239, 25%, 40%)
HSVhsv(239, 40%, 51%)
CMYKcmyk(40.3%, 39.5%, 0%, 49.4%)
CIE-LABlab(35.22, 13.23, -28.89)
CIE-LCHlch(35.22, 31.77, 294.61°)
OKLaboklab(44.67% 0.0167 -0.0811)
OKLCHoklch(44.67% 0.083 281.6)
XYZxyz(9.7463, 8.6112, 21.9132)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E81 #81804D
analogous
#4D6881 #4D4E81 #664D81
triadic
#4D4E81 #814D4E #4E814D
tetradic
#4D4E81 #814D68 #81804D #4D8166
square
#4D4E81 #814D68 #81804D #4D8166
split-complementary
#4D4E81 #81664D #68814D
monochromatic
#1F2034 #36375B #4D4E81 #6768A4 #8D8EBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D4E81#FFFFFF#000000##FFFFFF
##4D4E811.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)
#3D5583
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#3E5861
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4e81;
/* rgb */ color: rgb(77, 78, 129);
/* oklch */ color: oklch(44.7% 0.083 281.6);
Tailwind
colors: {
  custom: {
    50: '#817fa6',
    500: '#4d4e81',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e81;
$custom-light: #817fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e81",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 238.846,
    "s": 25.243,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.08283,
    "h": 281.6
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#4D4E81
secondary
#A8A782
accent
#C066C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4D4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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