#4D429D#4D429D

#4D429D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.142 H 284.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#4D429D
RGBrgb(77, 66, 157)
HSLhsl(247, 41%, 44%)
HSVhsv(247, 58%, 62%)
CMYKcmyk(51%, 58%, 0%, 38.4%)
CIE-LABlab(33.79, 29.73, -48.27)
CIE-LCHlch(33.79, 56.69, 301.63°)
OKLaboklab(44.14% 0.0355 -0.138)
OKLCHoklch(44.14% 0.142 284.4)
XYZxyz(11.0928, 7.9080, 32.8336)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D429D #929D42
analogous
#42649D #4D429D #7A429D
triadic
#4D429D #9D4D42 #429D4D
tetradic
#4D429D #9D4264 #929D42 #429D7A
square
#4D429D #9D4264 #929D42 #429D7A
split-complementary
#4D429D #9D7A42 #649D42
monochromatic
#231E47 #383072 #4D429D #6B60BC #938BCE

Accessibility & contrast

On white

8.13
#4D429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4D429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D429D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D429D#FFFFFF#000000##FFFFFF
##4D429D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#2F5769
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d429d;
/* rgb */ color: rgb(77, 66, 157);
/* oklch */ color: oklch(44.1% 0.142 284.4);
Tailwind
colors: {
  custom: {
    50: '#8577bb',
    500: '#4d429d',
    950: '#000000',
  },
}
SCSS
$custom: #4d429d;
$custom-light: #8577bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d429d",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 247.253,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.14249,
    "h": 284.4
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#4D429D
secondary
#B3B982
accent
#D157C2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D429D

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

Preview Lab → · Contrast checker → · Palette generator →

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