#4D4A95#4D4A95

#4D4A95 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.1% C 0.119 H 282.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4D4A95
RGBrgb(77, 74, 149)
HSLhsl(242, 34%, 44%)
HSVhsv(242, 50%, 58%)
CMYKcmyk(48.3%, 50.3%, 0%, 41.6%)
CIE-LABlab(35.29, 22.08, -41.01)
CIE-LCHlch(35.29, 46.58, 298.30°)
OKLaboklab(45.09% 0.0254 -0.1166)
OKLCHoklch(45.09% 0.119 282.3)
XYZxyz(10.9325, 8.6447, 29.5205)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A95 #92954A
analogous
#4A6C95 #4D4A95 #724A95
triadic
#4D4A95 #954D4A #4A954D
tetradic
#4D4A95 #954A6C #92954A #4A9572
square
#4D4A95 #954A6C #92954A #4A9572
split-complementary
#4D4A95 #95724A #6C954A
monochromatic
#232143 #38366C #4D4A95 #6B68B4 #9391C8

Accessibility & contrast

On white

7.70
#4D4A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4D4A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A95
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A95#FFFFFF#000000##FFFFFF
##4D4A951.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#345A68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4a95;
/* rgb */ color: rgb(77, 74, 149);
/* oklch */ color: oklch(45.1% 0.119 282.3);
Tailwind
colors: {
  custom: {
    50: '#847cb5',
    500: '#4d4a95',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a95;
$custom-light: #847cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a95",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 242.4,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45091,
    "c": 0.11935,
    "h": 282.3
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#4D4A95
secondary
#B3B486
accent
#CA5EC5
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D4A95

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

Preview Lab → · Contrast checker → · Palette generator →

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