#4D559B#4D559B

#4D559B is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.112 H 276.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4D559B
RGBrgb(77, 85, 155)
HSLhsl(234, 34%, 45%)
HSVhsv(234, 50%, 61%)
CMYKcmyk(50.3%, 45.2%, 0%, 39.2%)
CIE-LABlab(38.62, 16.94, -39.31)
CIE-LCHlch(38.62, 42.81, 293.31°)
OKLaboklab(47.73% 0.0124 -0.1115)
OKLCHoklch(47.73% 0.112 276.4)
XYZxyz(12.2236, 10.4406, 32.3751)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D559B #9B934D
analogous
#4D7C9B #4D559B #6C4D9B
triadic
#4D559B #9B4D55 #559B4D
tetradic
#4D559B #9B4D7C #9B934D #4D9B6C
square
#4D559B #9B4D7C #9B934D #4D9B6C
split-complementary
#4D559B #9B6C4D #7C9B4D
monochromatic
#242849 #393F72 #4D559B #6E76B7 #979CCB

Accessibility & contrast

On white

6.80
#4D559B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4D559B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D559B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D559B#FFFFFF#000000##FFFFFF
##4D559B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#315899
Tritanopia (blue-blind)
#2E6470
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d559b;
/* rgb */ color: rgb(77, 85, 155);
/* oklch */ color: oklch(47.7% 0.112 276.4);
Tailwind
colors: {
  custom: {
    50: '#8484b9',
    500: '#4d559b',
    950: '#000000',
  },
}
SCSS
$custom: #4d559b;
$custom-light: #8484b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d559b",
  "rgb": {
    "r": 77,
    "g": 85,
    "b": 155
  },
  "hsl": {
    "h": 233.846,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47731,
    "c": 0.11224,
    "h": 276.4
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#4D559B
secondary
#B8B38C
accent
#BF5ECA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4D559B

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

Preview Lab → · Contrast checker → · Palette generator →

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