#4D4091#4D4091

#4D4091 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.129 H 287.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4D4091
RGBrgb(77, 64, 145)
HSLhsl(250, 39%, 41%)
HSVhsv(250, 56%, 57%)
CMYKcmyk(46.9%, 55.9%, 0%, 43.1%)
CIE-LABlab(32.45, 27.21, -43.13)
CIE-LCHlch(32.45, 50.99, 302.25°)
OKLaboklab(42.89% 0.0377 -0.1229)
OKLCHoklch(42.89% 0.129 287)
XYZxyz(10.0033, 7.2885, 27.6623)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4091 #849140
analogous
#405B91 #4D4091 #754091
triadic
#4D4091 #914D40 #40914D
tetradic
#4D4091 #91405B #849140 #409175
square
#4D4091 #91405B #849140 #409175
split-complementary
#4D4091 #917540 #5B9140
monochromatic
#201B3C #362D67 #4D4091 #6859B6 #8E83C8

Accessibility & contrast

On white

8.54
#4D4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4D4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4091
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4091#FFFFFF#000000##FFFFFF
##4D40911.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E94
Deuteranopia (green-blind)
#144A8F
Tritanopia (blue-blind)
#375262
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d4091;
/* rgb */ color: rgb(77, 64, 145);
/* oklch */ color: oklch(42.9% 0.129 287.0);
Tailwind
colors: {
  custom: {
    50: '#8475b2',
    500: '#4d4091',
    950: '#000000',
  },
}
SCSS
$custom: #4d4091;
$custom-light: #8475b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4091",
  "rgb": {
    "r": 77,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 249.63,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.12852,
    "h": 287
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#4D4091
secondary
#AAB37A
accent
#CF59BC
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #4D4091

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

Preview Lab → · Contrast checker → · Palette generator →

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