#4C77CB#4C77CB

#4C77CB is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.138 H 262.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4C77CB
RGBrgb(76, 119, 203)
HSLhsl(220, 55%, 55%)
HSVhsv(220, 63%, 80%)
CMYKcmyk(62.6%, 41.4%, 0%, 20.4%)
CIE-LABlab(50.73, 11.49, -48.08)
CIE-LCHlch(50.73, 49.43, 283.44°)
OKLaboklab(57.9% -0.0181 -0.1369)
OKLCHoklch(57.9% 0.138 262.5)
XYZxyz(20.3530, 19.0401, 59.0909)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C77CB #CBA04C
analogous
#4CB6CB #4C77CB #614CCB
triadic
#4C77CB #CB4C77 #77CB4C
tetradic
#4C77CB #CB4CB6 #CBA04C #4CCB61
square
#4C77CB #CB4CB6 #CBA04C #4CCB61
split-complementary
#4C77CB #CB614C #B6CB4C
monochromatic
#234079 #315AA9 #4C77CB #7B9BD9 #ABBFE7

Accessibility & contrast

On white

4.37
#4C77CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4C77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C77CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C77CB#FFFFFF#000000##000000
##4C77CB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c77cb;
/* rgb */ color: rgb(76, 119, 203);
/* oklch */ color: oklch(57.9% 0.138 262.5);
Tailwind
colors: {
  custom: {
    50: '#899ddb',
    500: '#4c77cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c77cb;
$custom-light: #899ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c77cb",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 219.685,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.579,
    "c": 0.13812,
    "h": 262.5
  },
  "luminance": 0.19042
}

Semantic roles & 50–950 ramp

primary
#4C77CB
secondary
#D4C29F
accent
#AC49DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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