#4D548E#4D548E

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

Color values

HEX#4D548E
RGBrgb(77, 84, 142)
HSLhsl(234, 30%, 43%)
HSVhsv(234, 46%, 56%)
CMYKcmyk(45.8%, 40.8%, 0%, 44.3%)
CIE-LABlab(37.61, 13.41, -33.07)
CIE-LCHlch(37.61, 35.69, 292.07°)
OKLaboklab(46.72% 0.0113 -0.0933)
OKLCHoklch(46.72% 0.094 276.9)
XYZxyz(11.1119, 9.8709, 26.9057)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D548E #8E874D
analogous
#4D748E #4D548E #664D8E
triadic
#4D548E #8E4D54 #548E4D
tetradic
#4D548E #8E4D74 #8E874D #4D8E66
square
#4D548E #8E4D74 #8E874D #4D8E66
split-complementary
#4D548E #8E664D #748E4D
monochromatic
#22253F #373D66 #4D548E #6A71AE #9297C4

Accessibility & contrast

On white

7.06
#4D548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D548E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D548E#FFFFFF#000000##FFFFFF
##4D548E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#37606A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d548e;
/* rgb */ color: rgb(77, 84, 142);
/* oklch */ color: oklch(46.7% 0.094 276.9);
Tailwind
colors: {
  custom: {
    50: '#8284af',
    500: '#4d548e',
    950: '#000000',
  },
}
SCSS
$custom: #4d548e;
$custom-light: #8284af;
$custom-dark: #000000;
JSON
{
  "hex": "#4d548e",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 233.538,
    "s": 29.68,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46719,
    "c": 0.09399,
    "h": 276.9
  },
  "luminance": 0.09871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D548E

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

Preview Lab → · Contrast checker → · Palette generator →

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