#4D6498#4D6498

#4D6498 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 50.8% C 0.088 H 265.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4D6498
RGBrgb(77, 100, 152)
HSLhsl(222, 33%, 45%)
HSVhsv(222, 49%, 60%)
CMYKcmyk(49.3%, 34.2%, 0%, 40.4%)
CIE-LABlab(42.70, 6.46, -31.07)
CIE-LCHlch(42.70, 31.73, 281.74°)
OKLaboklab(50.82% -0.0072 -0.0874)
OKLCHoklch(50.82% 0.088 265.3)
XYZxyz(13.2834, 12.9583, 31.5009)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6498 #98814D
analogous
#4D8A98 #4D6498 #5C4D98
triadic
#4D6498 #984D64 #64984D
tetradic
#4D6498 #984D8A #98814D #4D985C
square
#4D6498 #984D8A #98814D #4D985C
split-complementary
#4D6498 #985C4D #8A984D
monochromatic
#242F47 #38496F #4D6498 #6D83B5 #96A6CA

Accessibility & contrast

On white

5.85
#4D6498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D6498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6498
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6498#FFFFFF#000000##FFFFFF
##4D64981.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699A
Deuteranopia (green-blind)
#486297
Tritanopia (blue-blind)
#2E6F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d6498;
/* rgb */ color: rgb(77, 100, 152);
/* oklch */ color: oklch(50.8% 0.088 265.3);
Tailwind
colors: {
  custom: {
    50: '#838fb6',
    500: '#4d6498',
    950: '#000000',
  },
}
SCSS
$custom: #4d6498;
$custom-light: #838fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6498",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 152
  },
  "hsl": {
    "h": 221.6,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.08769,
    "h": 265.3
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#4D6498
secondary
#B6A98B
accent
#A85FC9
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4D6498

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

Preview Lab → · Contrast checker → · Palette generator →

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