#4D429B#4D429B

#4D429B is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.140 H 284.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4D429B
RGBrgb(77, 66, 155)
HSLhsl(247, 40%, 43%)
HSVhsv(247, 57%, 61%)
CMYKcmyk(50.3%, 57.4%, 0%, 39.2%)
CIE-LABlab(33.65, 29.10, -47.29)
CIE-LCHlch(33.65, 55.53, 301.60°)
OKLaboklab(43.99% 0.0355 -0.1351)
OKLCHoklch(43.99% 0.14 284.7)
XYZxyz(10.9234, 7.8402, 31.9417)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D429B #909B42
analogous
#42639B #4D429B #79429B
triadic
#4D429B #9B4D42 #429B4D
tetradic
#4D429B #9B4263 #909B42 #429B79
square
#4D429B #9B4263 #909B42 #429B79
split-complementary
#4D429B #9B7942 #639B42
monochromatic
#221D45 #383070 #4D429B #6B5FBB #928ACD

Accessibility & contrast

On white

8.18
#4D429B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4D429B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D429B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D429B#FFFFFF#000000##FFFFFF
##4D429B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05529E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#315668
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d429b;
/* rgb */ color: rgb(77, 66, 155);
/* oklch */ color: oklch(44.0% 0.140 284.7);
Tailwind
colors: {
  custom: {
    50: '#8576b9',
    500: '#4d429b',
    950: '#000000',
  },
}
SCSS
$custom: #4d429b;
$custom-light: #8576b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d429b",
  "rgb": {
    "r": 77,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 247.416,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.1397,
    "h": 284.7
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#4D429B
secondary
#B1B881
accent
#D058C1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D429B

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

Preview Lab → · Contrast checker → · Palette generator →

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