#4D5D87#4D5D87

#4D5D87 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.3% C 0.071 H 267.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4D5D87
RGBrgb(77, 93, 135)
HSLhsl(223, 27%, 42%)
HSVhsv(223, 43%, 53%)
CMYKcmyk(43%, 31.1%, 0%, 47.1%)
CIE-LABlab(39.84, 5.50, -25.32)
CIE-LCHlch(39.84, 25.91, 282.26°)
OKLaboklab(48.33% -0.0028 -0.0708)
OKLCHoklch(48.33% 0.071 267.8)
XYZxyz(11.3467, 11.1552, 24.4723)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5D87 #87774D
analogous
#4D7A87 #4D5D87 #5A4D87
triadic
#4D5D87 #874D5D #5D874D
tetradic
#4D5D87 #874D7A #87774D #4D875A
square
#4D5D87 #874D7A #87774D #4D875A
split-complementary
#4D5D87 #875A4D #7A874D
monochromatic
#212739 #374260 #4D5D87 #687AA9 #8F9CBF

Accessibility & contrast

On white

6.50
#4D5D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D5D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5D87
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5D87#FFFFFF#000000##FFFFFF
##4D5D871.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6189
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#39666C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d5d87;
/* rgb */ color: rgb(77, 93, 135);
/* oklch */ color: oklch(48.3% 0.071 267.8);
Tailwind
colors: {
  custom: {
    50: '#818aaa',
    500: '#4d5d87',
    950: '#000000',
  },
}
SCSS
$custom: #4d5d87;
$custom-light: #818aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5d87",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 223.448,
    "s": 27.358,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48325,
    "c": 0.07083,
    "h": 267.8
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#4D5D87
secondary
#ACA184
accent
#A964C4
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #4D5D87

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

Preview Lab → · Contrast checker → · Palette generator →

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