#4D489B#4D489B

#4D489B is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.131 H 282.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4D489B
RGBrgb(77, 72, 155)
HSLhsl(244, 37%, 45%)
HSVhsv(244, 54%, 61%)
CMYKcmyk(50.3%, 53.5%, 0%, 39.2%)
CIE-LABlab(35.16, 25.29, -44.86)
CIE-LCHlch(35.16, 51.49, 299.41°)
OKLaboklab(45.12% 0.0284 -0.1279)
OKLCHoklch(45.12% 0.131 282.5)
XYZxyz(11.2925, 8.5785, 32.0648)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D489B #969B48
analogous
#486D9B #4D489B #76489B
triadic
#4D489B #9B4D48 #489B4D
tetradic
#4D489B #9B486D #969B48 #489B76
square
#4D489B #9B486D #969B48 #489B76
split-complementary
#4D489B #9B7648 #6D9B48
monochromatic
#232147 #383571 #4D489B #6C68B9 #9591CC

Accessibility & contrast

On white

7.73
#4D489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D489B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D489B#FFFFFF#000000##FFFFFF
##4D489B1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569E
Deuteranopia (green-blind)
#175099
Tritanopia (blue-blind)
#305A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d489b;
/* rgb */ color: rgb(77, 72, 155);
/* oklch */ color: oklch(45.1% 0.131 282.5);
Tailwind
colors: {
  custom: {
    50: '#857bb9',
    500: '#4d489b',
    950: '#000000',
  },
}
SCSS
$custom: #4d489b;
$custom-light: #857bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d489b",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 243.614,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.13103,
    "h": 282.5
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#4D489B
secondary
#B5B887
accent
#CD5BC6
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D489B

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

Preview Lab → · Contrast checker → · Palette generator →

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