#4D5C8A#4D5C8A

#4D5C8A is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.3% C 0.077 H 269.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4D5C8A
RGBrgb(77, 92, 138)
HSLhsl(225, 28%, 42%)
HSVhsv(225, 44%, 54%)
CMYKcmyk(44.2%, 33.3%, 0%, 45.9%)
CIE-LABlab(39.69, 7.06, -27.37)
CIE-LCHlch(39.69, 28.27, 284.46°)
OKLaboklab(48.26% -0.0005 -0.0767)
OKLCHoklch(48.26% 0.077 269.6)
XYZxyz(11.4737, 11.0664, 25.5713)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5C8A #8A7B4D
analogous
#4D7B8A #4D5C8A #5D4D8A
triadic
#4D5C8A #8A4D5C #5C8A4D
tetradic
#4D5C8A #8A4D7B #8A7B4D #4D8A5D
square
#4D5C8A #8A4D7B #8A7B4D #4D8A5D
split-complementary
#4D5C8A #8A5D4D #7B8A4D
monochromatic
#21283B #374263 #4D5C8A #6979AB #909CC1

Accessibility & contrast

On white

6.54
#4D5C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4D5C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5C8A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5C8A#FFFFFF#000000##FFFFFF
##4D5C8A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#465B89
Tritanopia (blue-blind)
#38656D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d5c8a;
/* rgb */ color: rgb(77, 92, 138);
/* oklch */ color: oklch(48.3% 0.077 269.6);
Tailwind
colors: {
  custom: {
    50: '#828aac',
    500: '#4d5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4d5c8a;
$custom-light: #828aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5c8a",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 225.246,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.07671,
    "h": 269.6
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#4D5C8A
secondary
#AEA485
accent
#AD63C5
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4D5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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