#4D489A#4D489A

#4D489A is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.130 H 282.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4D489A
RGBrgb(77, 72, 154)
HSLhsl(244, 36%, 44%)
HSVhsv(244, 53%, 60%)
CMYKcmyk(50%, 53.2%, 0%, 39.6%)
CIE-LABlab(35.09, 24.97, -44.36)
CIE-LCHlch(35.09, 50.90, 299.37°)
OKLaboklab(45.05% 0.0283 -0.1265)
OKLCHoklch(45.05% 0.13 282.6)
XYZxyz(11.2089, 8.5450, 31.6243)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D489A #959A48
analogous
#486C9A #4D489A #76489A
triadic
#4D489A #9A4D48 #489A4D
tetradic
#4D489A #9A486C #959A48 #489A76
square
#4D489A #9A486C #959A48 #489A76
split-complementary
#4D489A #9A7648 #6C9A48
monochromatic
#232147 #383570 #4D489A #6C67B8 #9491CC

Accessibility & contrast

On white

7.75
#4D489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4D489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D489A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D489A#FFFFFF#000000##FFFFFF
##4D489A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#185098
Tritanopia (blue-blind)
#315A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d489a;
/* rgb */ color: rgb(77, 72, 154);
/* oklch */ color: oklch(45.0% 0.130 282.6);
Tailwind
colors: {
  custom: {
    50: '#847bb8',
    500: '#4d489a',
    950: '#000000',
  },
}
SCSS
$custom: #4d489a;
$custom-light: #847bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d489a",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 243.659,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.12959,
    "h": 282.6
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#4D489A
secondary
#B4B786
accent
#CC5CC5
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D489A

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

Preview Lab → · Contrast checker → · Palette generator →

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