#4D489C#4D489C

#4D489C is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.132 H 282.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4D489C
RGBrgb(77, 72, 156)
HSLhsl(244, 37%, 45%)
HSVhsv(244, 54%, 61%)
CMYKcmyk(50.6%, 53.8%, 0%, 38.8%)
CIE-LABlab(35.23, 25.61, -45.35)
CIE-LCHlch(35.23, 52.08, 299.45°)
OKLaboklab(45.19% 0.0284 -0.1294)
OKLCHoklch(45.19% 0.132 282.4)
XYZxyz(11.3769, 8.6122, 32.5089)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D489C #979C48
analogous
#486D9C #4D489C #77489C
triadic
#4D489C #9C4D48 #489C4D
tetradic
#4D489C #9C486D #979C48 #489C77
square
#4D489C #9C486D #979C48 #489C77
split-complementary
#4D489C #9C7748 #6D9C48
monochromatic
#242148 #383572 #4D489C #6D68B9 #9592CD

Accessibility & contrast

On white

7.71
#4D489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D489C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D489C#FFFFFF#000000##FFFFFF
##4D489C1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C569F
Deuteranopia (green-blind)
#14509A
Tritanopia (blue-blind)
#2F5B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d489c;
/* rgb */ color: rgb(77, 72, 156);
/* oklch */ color: oklch(45.2% 0.132 282.4);
Tailwind
colors: {
  custom: {
    50: '#857bba',
    500: '#4d489c',
    950: '#000000',
  },
}
SCSS
$custom: #4d489c;
$custom-light: #857bba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d489c",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 243.571,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.13247,
    "h": 282.4
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#4D489C
secondary
#B6B887
accent
#CD5BC6
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4D489C

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

Preview Lab → · Contrast checker → · Palette generator →

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