#4D548C#4D548C

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

Color values

HEX#4D548C
RGBrgb(77, 84, 140)
HSLhsl(233, 29%, 43%)
HSVhsv(233, 45%, 55%)
CMYKcmyk(45%, 40%, 0%, 45.1%)
CIE-LABlab(37.50, 12.78, -32.03)
CIE-LCHlch(37.50, 34.48, 291.75°)
OKLaboklab(46.6% 0.0109 -0.0903)
OKLCHoklch(46.6% 0.091 276.9)
XYZxyz(10.9631, 9.8113, 26.1220)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D548C #8C854D
analogous
#4D748C #4D548C #654D8C
triadic
#4D548C #8C4D54 #548C4D
tetradic
#4D548C #8C4D74 #8C854D #4D8C65
square
#4D548C #8C4D74 #8C854D #4D8C65
split-complementary
#4D548C #8C654D #748C4D
monochromatic
#22253D #373C65 #4D548C #6971AD #9196C2

Accessibility & contrast

On white

7.09
#4D548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D548C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D548C#FFFFFF#000000##FFFFFF
##4D548C1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#385F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d548c;
/* rgb */ color: rgb(77, 84, 140);
/* oklch */ color: oklch(46.6% 0.091 276.9);
Tailwind
colors: {
  custom: {
    50: '#8284ae',
    500: '#4d548c',
    950: '#000000',
  },
}
SCSS
$custom: #4d548c;
$custom-light: #8284ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4d548c",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 233.333,
    "s": 29.032,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.09091,
    "h": 276.9
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#4D548C
secondary
#AFAA86
accent
#BA62C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D548C

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

Preview Lab → · Contrast checker → · Palette generator →

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