#4D489E#4D489E

#4D489E is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.135 H 282.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4D489E
RGBrgb(77, 72, 158)
HSLhsl(243, 37%, 45%)
HSVhsv(243, 54%, 62%)
CMYKcmyk(51.3%, 54.4%, 0%, 38%)
CIE-LABlab(35.36, 26.25, -46.34)
CIE-LCHlch(35.36, 53.26, 299.53°)
OKLaboklab(45.33% 0.0285 -0.1323)
OKLCHoklch(45.33% 0.135 282.2)
XYZxyz(11.5476, 8.6805, 33.4082)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D489E #999E48
analogous
#486E9E #4D489E #78489E
triadic
#4D489E #9E4D48 #489E4D
tetradic
#4D489E #9E486E #999E48 #489E78
square
#4D489E #9E486E #999E48 #489E78
split-complementary
#4D489E #9E7848 #6E9E48
monochromatic
#24224A #393574 #4D489E #6D69BB #9693CE

Accessibility & contrast

On white

7.67
#4D489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D489E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D489E#FFFFFF#000000##FFFFFF
##4D489E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#2E5B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d489e;
/* rgb */ color: rgb(77, 72, 158);
/* oklch */ color: oklch(45.3% 0.135 282.2);
Tailwind
colors: {
  custom: {
    50: '#857bbb',
    500: '#4d489e',
    950: '#000000',
  },
}
SCSS
$custom: #4d489e;
$custom-light: #857bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d489e",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 243.488,
    "s": 37.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.13532,
    "h": 282.2
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#4D489E
secondary
#B7BA88
accent
#CD5AC7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4D489E

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

Preview Lab → · Contrast checker → · Palette generator →

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