#4D4E89#4D4E89

#4D4E89 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.095 H 281.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4D4E89
RGBrgb(77, 78, 137)
HSLhsl(239, 28%, 42%)
HSVhsv(239, 44%, 54%)
CMYKcmyk(43.8%, 43.1%, 0%, 46.3%)
CIE-LABlab(35.66, 15.70, -33.11)
CIE-LCHlch(35.66, 36.65, 295.37°)
OKLaboklab(45.14% 0.0184 -0.0934)
OKLCHoklch(45.14% 0.095 281.1)
XYZxyz(10.2990, 8.8323, 24.8242)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4E89 #89884D
analogous
#4D6C89 #4D4E89 #6A4D89
triadic
#4D4E89 #894D4E #4E894D
tetradic
#4D4E89 #894D6C #89884D #4D896A
square
#4D4E89 #894D6C #89884D #4D896A
split-complementary
#4D4E89 #896A4D #6C894D
monochromatic
#21213B #373862 #4D4E89 #696AAB #9091C1

Accessibility & contrast

On white

7.59
#4D4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4D4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4E89
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4E89#FFFFFF#000000##FFFFFF
##4D4E891.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568B
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#3A5A65
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d4e89;
/* rgb */ color: rgb(77, 78, 137);
/* oklch */ color: oklch(45.1% 0.095 281.1);
Tailwind
colors: {
  custom: {
    50: '#827fac',
    500: '#4d4e89',
    950: '#000000',
  },
}
SCSS
$custom: #4d4e89;
$custom-light: #827fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4e89",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 239,
    "s": 28.037,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.09524,
    "h": 281.1
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#4D4E89
secondary
#ADAC85
accent
#C363C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4D4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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