#4D548D#4D548D

#4D548D is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.7% C 0.092 H 276.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4D548D
RGBrgb(77, 84, 141)
HSLhsl(233, 29%, 43%)
HSVhsv(233, 45%, 55%)
CMYKcmyk(45.4%, 40.4%, 0%, 44.7%)
CIE-LABlab(37.56, 13.09, -32.55)
CIE-LCHlch(37.56, 35.09, 291.91°)
OKLaboklab(46.66% 0.0111 -0.0918)
OKLCHoklch(46.66% 0.092 276.9)
XYZxyz(11.0372, 9.8410, 26.5121)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D548D #8D864D
analogous
#4D748D #4D548D #664D8D
triadic
#4D548D #8D4D54 #548D4D
tetradic
#4D548D #8D4D74 #8D864D #4D8D66
square
#4D548D #8D4D74 #8D864D #4D8D66
split-complementary
#4D548D #8D664D #748D4D
monochromatic
#22253E #373C65 #4D548D #6A71AD #9197C3

Accessibility & contrast

On white

7.07
#4D548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4D548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D548D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D548D#FFFFFF#000000##FFFFFF
##4D548D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#376069
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d548d;
/* rgb */ color: rgb(77, 84, 141);
/* oklch */ color: oklch(46.7% 0.092 276.9);
Tailwind
colors: {
  custom: {
    50: '#8284ae',
    500: '#4d548d',
    950: '#000000',
  },
}
SCSS
$custom: #4d548d;
$custom-light: #8284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d548d",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 233.438,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4666,
    "c": 0.09246,
    "h": 276.9
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#4D548D
secondary
#AFAB86
accent
#BB62C6
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D548D

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

Preview Lab → · Contrast checker → · Palette generator →

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