#4D4A94#4D4A94

#4D4A94 is a mid, moderate blue. Relative luminance 0.086; OKLCH L 45.0% C 0.118 H 282.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4D4A94
RGBrgb(77, 74, 148)
HSLhsl(242, 33%, 44%)
HSVhsv(242, 50%, 58%)
CMYKcmyk(48%, 50%, 0%, 42%)
CIE-LABlab(35.23, 21.76, -40.51)
CIE-LCHlch(35.23, 45.98, 298.25°)
OKLaboklab(45.02% 0.0253 -0.1151)
OKLCHoklch(45.02% 0.118 282.4)
XYZxyz(10.8530, 8.6129, 29.1018)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4A94 #91944A
analogous
#4A6C94 #4D4A94 #724A94
triadic
#4D4A94 #944D4A #4A944D
tetradic
#4D4A94 #944A6C #91944A #4A9472
square
#4D4A94 #944A6C #91944A #4A9472
split-complementary
#4D4A94 #94724A #6C944A
monochromatic
#232142 #38366B #4D4A94 #6B68B3 #9391C8

Accessibility & contrast

On white

7.71
#4D4A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4D4A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4A94
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4A94#FFFFFF#000000##FFFFFF
##4D4A941.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5597
Deuteranopia (green-blind)
#255092
Tritanopia (blue-blind)
#355A68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4d4a94;
/* rgb */ color: rgb(77, 74, 148);
/* oklch */ color: oklch(45.0% 0.118 282.4);
Tailwind
colors: {
  custom: {
    50: '#837cb4',
    500: '#4d4a94',
    950: '#000000',
  },
}
SCSS
$custom: #4d4a94;
$custom-light: #837cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4a94",
  "rgb": {
    "r": 77,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 242.432,
    "s": 33.333,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45024,
    "c": 0.11788,
    "h": 282.4
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#4D4A94
secondary
#B2B486
accent
#C95EC5
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4D4A94

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

Preview Lab → · Contrast checker → · Palette generator →

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