#4F71BB#4F71BB

#4F71BB is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.8% C 0.122 H 264.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4F71BB
RGBrgb(79, 113, 187)
HSLhsl(221, 44%, 52%)
HSVhsv(221, 58%, 73%)
CMYKcmyk(57.8%, 39.6%, 0%, 26.7%)
CIE-LABlab(48.33, 10.34, -42.70)
CIE-LCHlch(48.33, 43.93, 283.61°)
OKLaboklab(55.8% -0.0123 -0.1212)
OKLCHoklch(55.8% 0.122 264.2)
XYZxyz(18.0962, 17.0589, 49.3432)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71BB #BB994F
analogous
#4FA7BB #4F71BB #634FBB
triadic
#4F71BB #BB4F71 #71BB4F
tetradic
#4F71BB #BB4FA7 #BB994F #4FBB63
square
#4F71BB #BB4FA7 #BB994F #4FBB63
split-complementary
#4F71BB #BB634F #A7BB4F
monochromatic
#283C68 #395694 #4F71BB #7B95CC #A7B8DD

Accessibility & contrast

On white

4.76
#4F71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4F71BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71BB#FFFFFF#000000##FFFFFF
##4F71BB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f71bb;
/* rgb */ color: rgb(79, 113, 187);
/* oklch */ color: oklch(55.8% 0.122 264.2);
Tailwind
colors: {
  custom: {
    50: '#8999d0',
    500: '#4f71bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f71bb;
$custom-light: #8999d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71bb",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 221.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55802,
    "c": 0.1218,
    "h": 264.2
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#4F71BB
secondary
#CABC9B
accent
#AC54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4F71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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