#4D489F#4D489F

#4D489F is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.137 H 282.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4D489F
RGBrgb(77, 72, 159)
HSLhsl(243, 38%, 45%)
HSVhsv(243, 55%, 62%)
CMYKcmyk(51.6%, 54.7%, 0%, 37.6%)
CIE-LABlab(35.43, 26.58, -46.83)
CIE-LCHlch(35.43, 53.85, 299.57°)
OKLaboklab(45.41% 0.0286 -0.1337)
OKLCHoklch(45.41% 0.137 282.1)
XYZxyz(11.6340, 8.7151, 33.8633)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D489F #9A9F48
analogous
#486F9F #4D489F #78489F
triadic
#4D489F #9F4D48 #489F4D
tetradic
#4D489F #9F486F #9A9F48 #489F78
square
#4D489F #9F486F #9A9F48 #489F78
split-complementary
#4D489F #9F7848 #6F9F48
monochromatic
#24224B #393575 #4D489F #6E69BB #9793CE

Accessibility & contrast

On white

7.66
#4D489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4D489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D489F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D489F#FFFFFF#000000##FFFFFF
##4D489F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#2D5B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d489f;
/* rgb */ color: rgb(77, 72, 159);
/* oklch */ color: oklch(45.4% 0.137 282.1);
Tailwind
colors: {
  custom: {
    50: '#857bbc',
    500: '#4d489f',
    950: '#000000',
  },
}
SCSS
$custom: #4d489f;
$custom-light: #857bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d489f",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 243.448,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.13675,
    "h": 282.1
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#4D489F
secondary
#B7BA89
accent
#CE5AC7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4D489F

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

Preview Lab → · Contrast checker → · Palette generator →

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