#4D459A#4D459A

#4D459A is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.134 H 283.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4D459A
RGBrgb(77, 69, 154)
HSLhsl(246, 38%, 44%)
HSVhsv(246, 55%, 60%)
CMYKcmyk(50%, 55.2%, 0%, 39.6%)
CIE-LABlab(34.33, 26.88, -45.59)
CIE-LCHlch(34.33, 52.92, 300.52°)
OKLaboklab(44.48% 0.0319 -0.1301)
OKLCHoklch(44.48% 0.134 283.8)
XYZxyz(11.0197, 8.1666, 31.5612)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D459A #929A45
analogous
#45679A #4D459A #77459A
triadic
#4D459A #9A4D45 #459A4D
tetradic
#4D459A #9A4567 #929A45 #459A77
square
#4D459A #9A4567 #929A45 #459A77
split-complementary
#4D459A #9A7745 #679A45
monochromatic
#231F45 #383270 #4D459A #6B63B9 #938DCC

Accessibility & contrast

On white

7.97
#4D459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D459A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D459A#FFFFFF#000000##FFFFFF
##4D459A1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15539D
Deuteranopia (green-blind)
#0F4E98
Tritanopia (blue-blind)
#315868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d459a;
/* rgb */ color: rgb(77, 69, 154);
/* oklch */ color: oklch(44.5% 0.134 283.8);
Tailwind
colors: {
  custom: {
    50: '#8579b8',
    500: '#4d459a',
    950: '#000000',
  },
}
SCSS
$custom: #4d459a;
$custom-light: #8579b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d459a",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 245.647,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.13396,
    "h": 283.8
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#4D459A
secondary
#B3B783
accent
#CE5AC3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D459A

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

Preview Lab → · Contrast checker → · Palette generator →

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