#4F77BE#4F77BE

#4F77BE is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.119 H 261.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F77BE
RGBrgb(79, 119, 190)
HSLhsl(218, 46%, 53%)
HSVhsv(218, 58%, 75%)
CMYKcmyk(58.4%, 37.4%, 0%, 25.5%)
CIE-LABlab(50.18, 7.66, -41.50)
CIE-LCHlch(50.18, 42.20, 280.46°)
OKLaboklab(57.29% -0.0183 -0.1176)
OKLCHoklch(57.29% 0.119 261.2)
XYZxyz(19.1123, 18.5720, 51.2828)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F77BE #BE964F
analogous
#4FAFBE #4F77BE #5E4FBE
triadic
#4F77BE #BE4F77 #77BE4F
tetradic
#4F77BE #BE4FAF #BE964F #4FBE5E
square
#4F77BE #BE4FAF #BE964F #4FBE5E
split-complementary
#4F77BE #BE5E4F #AFBE4F
monochromatic
#28406B #385B98 #4F77BE #7C9ACF #A8BCDF

Accessibility & contrast

On white

4.45
#4F77BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4F77BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F77BE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F77BE#FFFFFF#000000##000000
##4F77BE1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f77be;
/* rgb */ color: rgb(79, 119, 190);
/* oklch */ color: oklch(57.3% 0.119 261.2);
Tailwind
colors: {
  custom: {
    50: '#899dd2',
    500: '#4f77be',
    950: '#000000',
  },
}
SCSS
$custom: #4f77be;
$custom-light: #899dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f77be",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 218.378,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57286,
    "c": 0.11903,
    "h": 261.2
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#4F77BE
secondary
#CCBB9C
accent
#A652D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4F77BE

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

Preview Lab → · Contrast checker → · Palette generator →

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