#4D459B#4D459B

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

Color values

HEX#4D459B
RGBrgb(77, 69, 155)
HSLhsl(246, 38%, 44%)
HSVhsv(246, 55%, 61%)
CMYKcmyk(50.3%, 55.5%, 0%, 39.2%)
CIE-LABlab(34.40, 27.20, -46.08)
CIE-LCHlch(34.40, 53.51, 300.55°)
OKLaboklab(44.55% 0.032 -0.1315)
OKLCHoklch(44.55% 0.135 283.7)
XYZxyz(11.1033, 8.2000, 32.0017)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D459B #939B45
analogous
#45689B #4D459B #78459B
triadic
#4D459B #9B4D45 #459B4D
tetradic
#4D459B #9B4568 #939B45 #459B78
square
#4D459B #9B4568 #939B45 #459B78
split-complementary
#4D459B #9B7845 #689B45
monochromatic
#231F46 #383271 #4D459B #6B63BA #948ECD

Accessibility & contrast

On white

7.95
#4D459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4D459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D459B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D459B#FFFFFF#000000##FFFFFF
##4D459B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#0C4E99
Tritanopia (blue-blind)
#305869
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d459b;
/* rgb */ color: rgb(77, 69, 155);
/* oklch */ color: oklch(44.5% 0.135 283.7);
Tailwind
colors: {
  custom: {
    50: '#8579b9',
    500: '#4d459b',
    950: '#000000',
  },
}
SCSS
$custom: #4d459b;
$custom-light: #8579b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d459b",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 245.581,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.13537,
    "h": 283.7
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#4D459B
secondary
#B3B884
accent
#CE59C3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D459B

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

Preview Lab → · Contrast checker → · Palette generator →

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