#4D5698#4D5698

#4D5698 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.8% C 0.106 H 275.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4D5698
RGBrgb(77, 86, 152)
HSLhsl(233, 33%, 45%)
HSVhsv(233, 49%, 60%)
CMYKcmyk(49.3%, 43.4%, 0%, 40.4%)
CIE-LABlab(38.72, 15.33, -37.35)
CIE-LCHlch(38.72, 40.37, 292.31°)
OKLaboklab(47.75% 0.0107 -0.1058)
OKLCHoklch(47.75% 0.106 275.8)
XYZxyz(12.0541, 10.4997, 31.0911)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5698 #988F4D
analogous
#4D7C98 #4D5698 #6A4D98
triadic
#4D5698 #984D56 #56984D
tetradic
#4D5698 #984D7C #988F4D #4D986A
square
#4D5698 #984D7C #988F4D #4D986A
split-complementary
#4D5698 #986A4D #7C984D
monochromatic
#242847 #383F6F #4D5698 #6D76B5 #969CCA

Accessibility & contrast

On white

6.77
#4D5698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4D5698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5698
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5698#FFFFFF#000000##FFFFFF
##4D56981.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9B
Deuteranopia (green-blind)
#355897
Tritanopia (blue-blind)
#30646F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d5698;
/* rgb */ color: rgb(77, 86, 152);
/* oklch */ color: oklch(47.8% 0.106 275.8);
Tailwind
colors: {
  custom: {
    50: '#8385b7',
    500: '#4d5698',
    950: '#000000',
  },
}
SCSS
$custom: #4d5698;
$custom-light: #8385b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5698",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 232.8,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.10633,
    "h": 275.8
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#4D5698
secondary
#B6B18B
accent
#BC5FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4D5698

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

Preview Lab → · Contrast checker → · Palette generator →

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