#4D4A97#4D4A97

#4D4A97 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.122 H 282.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4D4A97
RGBrgb(77, 74, 151)
HSLhsl(242, 34%, 44%)
HSVhsv(242, 51%, 59%)
CMYKcmyk(49%, 51%, 0%, 40.8%)
CIE-LABlab(35.42, 22.72, -42.02)
CIE-LCHlch(35.42, 47.77, 298.40°)
OKLaboklab(45.23% 0.0256 -0.1196)
OKLCHoklch(45.23% 0.122 282.1)
XYZxyz(11.0936, 8.7091, 30.3686)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A97 #94974A
analogous
#4A6E97 #4D4A97 #744A97
triadic
#4D4A97 #974D4A #4A974D
tetradic
#4D4A97 #974A6E #94974A #4A9774
square
#4D4A97 #974A6E #94974A #4A9774
split-complementary
#4D4A97 #97744A #6E974A
monochromatic
#232245 #38366E #4D4A97 #6C69B5 #9492CA

Accessibility & contrast

On white

7.66
#4D4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4D4A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A97
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A97#FFFFFF#000000##FFFFFF
##4D4A971.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#335B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4a97;
/* rgb */ color: rgb(77, 74, 151);
/* oklch */ color: oklch(45.2% 0.122 282.1);
Tailwind
colors: {
  custom: {
    50: '#847cb6',
    500: '#4d4a97',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a97;
$custom-light: #847cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a97",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 242.338,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.12229,
    "h": 282.1
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#4D4A97
secondary
#B4B687
accent
#CA5DC6
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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