#4D5899#4D5899

#4D5899 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.2% C 0.105 H 274.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4D5899
RGBrgb(77, 88, 153)
HSLhsl(231, 33%, 45%)
HSVhsv(231, 50%, 60%)
CMYKcmyk(49.7%, 42.5%, 0%, 40%)
CIE-LABlab(39.34, 14.37, -36.98)
CIE-LCHlch(39.34, 39.67, 291.24°)
OKLaboklab(48.24% 0.0083 -0.1047)
OKLCHoklch(48.24% 0.105 274.5)
XYZxyz(12.2983, 10.8564, 31.5783)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5899 #998E4D
analogous
#4D7E99 #4D5899 #684D99
triadic
#4D5899 #994D58 #58994D
tetradic
#4D5899 #994D7E #998E4D #4D9968
square
#4D5899 #994D7E #998E4D #4D9968
split-complementary
#4D5899 #99684D #7E994D
monochromatic
#242948 #394170 #4D5899 #6D78B6 #969ECA

Accessibility & contrast

On white

6.62
#4D5899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4D5899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5899
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5899#FFFFFF#000000##FFFFFF
##4D58991.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#375A98
Tritanopia (blue-blind)
#2F6671
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d5899;
/* rgb */ color: rgb(77, 88, 153);
/* oklch */ color: oklch(48.2% 0.105 274.5);
Tailwind
colors: {
  custom: {
    50: '#8386b7',
    500: '#4d5899',
    950: '#000000',
  },
}
SCSS
$custom: #4d5899;
$custom-light: #8386b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5899",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 231.316,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.10501,
    "h": 274.5
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#4D5899
secondary
#B7B08B
accent
#BA5FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4D5899

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

Preview Lab → · Contrast checker → · Palette generator →

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