#4D489D#4D489D

#4D489D is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.134 H 282.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4D489D
RGBrgb(77, 72, 157)
HSLhsl(244, 37%, 45%)
HSVhsv(244, 54%, 62%)
CMYKcmyk(51%, 54.1%, 0%, 38.4%)
CIE-LABlab(35.29, 25.93, -45.85)
CIE-LCHlch(35.29, 52.67, 299.49°)
OKLaboklab(45.26% 0.0285 -0.1308)
OKLCHoklch(45.26% 0.134 282.3)
XYZxyz(11.4619, 8.6462, 32.9567)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D489D #989D48
analogous
#486E9D #4D489D #77489D
triadic
#4D489D #9D4D48 #489D4D
tetradic
#4D489D #9D486E #989D48 #489D77
square
#4D489D #9D486E #989D48 #489D77
split-complementary
#4D489D #9D7748 #6E9D48
monochromatic
#242249 #383573 #4D489D #6D68BA #9692CD

Accessibility & contrast

On white

7.69
#4D489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4D489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D489D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D489D#FFFFFF#000000##FFFFFF
##4D489D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#2F5B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d489d;
/* rgb */ color: rgb(77, 72, 157);
/* oklch */ color: oklch(45.3% 0.134 282.3);
Tailwind
colors: {
  custom: {
    50: '#857bba',
    500: '#4d489d',
    950: '#000000',
  },
}
SCSS
$custom: #4d489d;
$custom-light: #857bba;
$custom-dark: #000000;
JSON
{
  "hex": "#4d489d",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 243.529,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.1339,
    "h": 282.3
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D489D

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

Preview Lab → · Contrast checker → · Palette generator →

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