#4D579D#4D579D

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

Color values

HEX#4D579D
RGBrgb(77, 87, 157)
HSLhsl(233, 34%, 46%)
HSVhsv(233, 51%, 62%)
CMYKcmyk(51%, 44.6%, 0%, 38.4%)
CIE-LABlab(39.29, 16.31, -39.45)
CIE-LCHlch(39.29, 42.69, 292.46°)
OKLaboklab(48.28% 0.0103 -0.1119)
OKLCHoklch(48.28% 0.112 275.2)
XYZxyz(12.5526, 10.8277, 33.3203)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D579D #9D934D
analogous
#4D7F9D #4D579D #6B4D9D
triadic
#4D579D #9D4D57 #579D4D
tetradic
#4D579D #9D4D7F #9D934D #4D9D6B
square
#4D579D #9D4D7F #9D934D #4D9D6B
split-complementary
#4D579D #9D6B4D #7F9D4D
monochromatic
#25294B #394074 #4D579D #6F78B8 #989FCC

Accessibility & contrast

On white

6.63
#4D579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D579D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D579D#FFFFFF#000000##FFFFFF
##4D579D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#2C6672
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d579d;
/* rgb */ color: rgb(77, 87, 157);
/* oklch */ color: oklch(48.3% 0.112 275.2);
Tailwind
colors: {
  custom: {
    50: '#8486ba',
    500: '#4d579d',
    950: '#000000',
  },
}
SCSS
$custom: #4d579d;
$custom-light: #8486ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d579d",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 232.5,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.11241,
    "h": 275.2
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#4D579D
secondary
#B9B38D
accent
#BD5ECA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4D579D

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

Preview Lab → · Contrast checker → · Palette generator →

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