#4D5F7E#4D5F7E

#4D5F7E is a mid, muted blue. Relative luminance 0.113; OKLCH L 48.3% C 0.055 H 261.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4D5F7E
RGBrgb(77, 95, 126)
HSLhsl(218, 24%, 40%)
HSVhsv(218, 39%, 49%)
CMYKcmyk(38.9%, 24.6%, 0%, 50.6%)
CIE-LABlab(40.03, 1.55, -19.56)
CIE-LCHlch(40.03, 19.62, 274.53°)
OKLaboklab(48.34% -0.0085 -0.0543)
OKLCHoklch(48.34% 0.055 261.1)
XYZxyz(10.9175, 11.2680, 21.3343)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5F7E #7E6C4D
analogous
#4D787E #4D5F7E #534D7E
triadic
#4D5F7E #7E4D5F #5F7E4D
tetradic
#4D5F7E #7E4D78 #7E6C4D #4D7E53
square
#4D5F7E #7E4D78 #7E6C4D #4D7E53
split-complementary
#4D5F7E #7E534D #787E4D
monochromatic
#1F2632 #364258 #4D5F7E #667CA2 #8C9DB9

Accessibility & contrast

On white

6.45
#4D5F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4D5F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5F7E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5F7E#FFFFFF#000000##FFFFFF
##4D5F7E1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54617F
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#3D656A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d5f7e;
/* rgb */ color: rgb(77, 95, 126);
/* oklch */ color: oklch(48.3% 0.055 261.1);
Tailwind
colors: {
  custom: {
    50: '#808ca3',
    500: '#4d5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #4d5f7e;
$custom-light: #808ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5f7e",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 217.959,
    "s": 24.138,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.05492,
    "h": 261.1
  },
  "luminance": 0.11269
}

Semantic roles & 50–950 ramp

primary
#4D5F7E
secondary
#A69881
accent
#A067C1
background
#F7F8FA
surface
#EEF0F3
border
#C9CBCD
text
#0A0C0F
muted
#7C7D7F

Preview Lab

Preview with #4D5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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