#4D5699#4D5699

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

Color values

HEX#4D5699
RGBrgb(77, 86, 153)
HSLhsl(233, 33%, 45%)
HSVhsv(233, 50%, 60%)
CMYKcmyk(49.7%, 43.8%, 0%, 40%)
CIE-LABlab(38.78, 15.65, -37.86)
CIE-LCHlch(38.78, 40.97, 292.46°)
OKLaboklab(47.82% 0.0108 -0.1073)
OKLCHoklch(47.82% 0.108 275.8)
XYZxyz(12.1363, 10.5326, 31.5243)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5699 #99904D
analogous
#4D7C99 #4D5699 #6A4D99
triadic
#4D5699 #994D56 #56994D
tetradic
#4D5699 #994D7C #99904D #4D996A
square
#4D5699 #994D7C #99904D #4D996A
split-complementary
#4D5699 #996A4D #7C994D
monochromatic
#242848 #393F70 #4D5699 #6D76B6 #969CCA

Accessibility & contrast

On white

6.76
#4D5699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D5699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5699
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5699#FFFFFF#000000##FFFFFF
##4D56991.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9C
Deuteranopia (green-blind)
#345898
Tritanopia (blue-blind)
#306470
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d5699;
/* rgb */ color: rgb(77, 86, 153);
/* oklch */ color: oklch(47.8% 0.108 275.8);
Tailwind
colors: {
  custom: {
    50: '#8485b7',
    500: '#4d5699',
    950: '#000000',
  },
}
SCSS
$custom: #4d5699;
$custom-light: #8485b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5699",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 232.895,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.10783,
    "h": 275.8
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#4D5699
secondary
#B7B28B
accent
#BD5FC9
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4D5699

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

Preview Lab → · Contrast checker → · Palette generator →

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