#4C77DB#4C77DB

#4C77DB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.160 H 264.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4C77DB
RGBrgb(76, 119, 219)
HSLhsl(222, 67%, 58%)
HSVhsv(222, 65%, 86%)
CMYKcmyk(65.3%, 45.7%, 0%, 14.1%)
CIE-LABlab(51.66, 17.02, -55.68)
CIE-LCHlch(51.66, 58.22, 287.00°)
OKLaboklab(58.91% -0.0153 -0.1592)
OKLCHoklch(58.91% 0.16 264.5)
XYZxyz(22.3590, 19.8425, 69.6558)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C77DB #DBB04C
analogous
#4CBFDB #4C77DB #684CDB
triadic
#4C77DB #DB4C77 #77DB4C
tetradic
#4C77DB #DB4CBF #DBB04C #4CDB68
square
#4C77DB #DB4CBF #DBB04C #4CDB68
split-complementary
#4C77DB #DB684C #BFDB4C
monochromatic
#1D3F90 #2756C3 #4C77DB #7F9EE5 #B2C4EF

Accessibility & contrast

On white

4.23
#4C77DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4C77DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C77DB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C77DB#FFFFFF#000000##000000
##4C77DB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c77db;
/* rgb */ color: rgb(76, 119, 219);
/* oklch */ color: oklch(58.9% 0.160 264.5);
Tailwind
colors: {
  custom: {
    50: '#8c9de7',
    500: '#4c77db',
    950: '#000000',
  },
}
SCSS
$custom: #4c77db;
$custom-light: #8c9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c77db",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 221.958,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.15997,
    "h": 264.5
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#4C77DB
secondary
#DECDA5
accent
#B63EE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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