#4D77B2#4D77B2

#4D77B2 is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.5% C 0.103 H 257.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4D77B2
RGBrgb(77, 119, 178)
HSLhsl(215, 40%, 50%)
HSVhsv(215, 57%, 70%)
CMYKcmyk(56.7%, 33.1%, 0%, 30.2%)
CIE-LABlab(49.48, 3.25, -35.70)
CIE-LCHlch(49.48, 35.84, 275.20°)
OKLaboklab(56.51% -0.0232 -0.1007)
OKLCHoklch(56.51% 0.103 257)
XYZxyz(17.6905, 17.9843, 44.6499)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D77B2 #B2884D
analogous
#4DA9B2 #4D77B2 #564DB2
triadic
#4D77B2 #B24D77 #77B24D
tetradic
#4D77B2 #B24DA9 #B2884D #4DB256
square
#4D77B2 #B24DA9 #B2884D #4DB256
split-complementary
#4D77B2 #B2564D #A9B24D
monochromatic
#283E5D #3B5A87 #4D77B2 #7898C4 #A2B8D7

Accessibility & contrast

On white

4.57
#4D77B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4D77B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D77B2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D77B2#FFFFFF#000000##000000
##4D77B21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#00848C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d77b2;
/* rgb */ color: rgb(77, 119, 178);
/* oklch */ color: oklch(56.5% 0.103 257.0);
Tailwind
colors: {
  custom: {
    50: '#869dc9',
    500: '#4d77b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d77b2;
$custom-light: #869dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d77b2",
  "rgb": {
    "r": 77,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 215.05,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.10335,
    "h": 257
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#4D77B2
secondary
#C4B197
accent
#9E58CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4D77B2

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

Preview Lab → · Contrast checker → · Palette generator →

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