#4D4F83#4D4F83

#4D4F83 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 45.0% C 0.084 H 280.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4D4F83
RGBrgb(77, 79, 131)
HSLhsl(238, 26%, 41%)
HSVhsv(238, 41%, 51%)
CMYKcmyk(41.2%, 39.7%, 0%, 48.6%)
CIE-LABlab(35.61, 13.20, -29.51)
CIE-LCHlch(35.61, 32.33, 294.10°)
OKLaboklab(45% 0.0158 -0.0829)
OKLCHoklch(45% 0.084 280.8)
XYZxyz(9.9521, 8.8080, 22.6441)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4F83 #83814D
analogous
#4D6A83 #4D4F83 #664D83
triadic
#4D4F83 #834D4F #4F834D
tetradic
#4D4F83 #834D6A #83814D #4D8366
square
#4D4F83 #834D6A #83814D #4D8366
split-complementary
#4D4F83 #83664D #6A834D
monochromatic
#202136 #36385C #4D4F83 #676AA6 #8E90BD

Accessibility & contrast

On white

7.60
#4D4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D4F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4F83
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4F83#FFFFFF#000000##FFFFFF
##4D4F831.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5685
Deuteranopia (green-blind)
#3A5282
Tritanopia (blue-blind)
#3D5962
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d4f83;
/* rgb */ color: rgb(77, 79, 131);
/* oklch */ color: oklch(45.0% 0.084 280.8);
Tailwind
colors: {
  custom: {
    50: '#8180a7',
    500: '#4d4f83',
    950: '#000000',
  },
}
SCSS
$custom: #4d4f83;
$custom-light: #8180a7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4f83",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 237.778,
    "s": 25.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.08442,
    "h": 280.8
  },
  "luminance": 0.08808
}

Semantic roles & 50–950 ramp

primary
#4D4F83
secondary
#A9A883
accent
#BF65C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4D4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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