#4F77BB#4F77BB

#4F77BB is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.1% C 0.115 H 260.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4F77BB
RGBrgb(79, 119, 187)
HSLhsl(218, 44%, 52%)
HSVhsv(218, 58%, 73%)
CMYKcmyk(57.8%, 36.4%, 0%, 26.7%)
CIE-LABlab(50.03, 6.66, -40.02)
CIE-LCHlch(50.03, 40.57, 279.44°)
OKLaboklab(57.12% -0.019 -0.1133)
OKLCHoklch(57.12% 0.115 260.5)
XYZxyz(18.7878, 18.4422, 49.5737)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F77BB #BB934F
analogous
#4FADBB #4F77BB #5D4FBB
triadic
#4F77BB #BB4F77 #77BB4F
tetradic
#4F77BB #BB4FAD #BB934F #4FBB5D
square
#4F77BB #BB4FAD #BB934F #4FBB5D
split-complementary
#4F77BB #BB5D4F #ADBB4F
monochromatic
#284068 #395B94 #4F77BB #7B99CC #A7BBDD

Accessibility & contrast

On white

4.48
#4F77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4F77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F77BB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F77BB#FFFFFF#000000##000000
##4F77BB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#4D72BA
Tritanopia (blue-blind)
#008690
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f77bb;
/* rgb */ color: rgb(79, 119, 187);
/* oklch */ color: oklch(57.1% 0.115 260.5);
Tailwind
colors: {
  custom: {
    50: '#899dd0',
    500: '#4f77bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f77bb;
$custom-light: #899dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f77bb",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 217.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.11487,
    "h": 260.5
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#4F77BB
secondary
#CAB99B
accent
#A554D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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