#4F71BC#4F71BC

#4F71BC is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.123 H 264.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4F71BC
RGBrgb(79, 113, 188)
HSLhsl(221, 45%, 52%)
HSVhsv(221, 58%, 74%)
CMYKcmyk(58%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.39, 10.68, -43.19)
CIE-LCHlch(48.39, 44.49, 283.88°)
OKLaboklab(55.86% -0.0121 -0.1226)
OKLCHoklch(55.86% 0.123 264.4)
XYZxyz(18.2036, 17.1019, 49.9089)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71BC #BC9A4F
analogous
#4FA8BC #4F71BC #634FBC
triadic
#4F71BC #BC4F71 #71BC4F
tetradic
#4F71BC #BC4FA8 #BC9A4F #4FBC63
square
#4F71BC #BC4FA8 #BC9A4F #4FBC63
split-complementary
#4F71BC #BC634F #A8BC4F
monochromatic
#283C69 #395695 #4F71BC #7B95CD #A8B9DE

Accessibility & contrast

On white

4.75
#4F71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4F71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71BC#FFFFFF#000000##FFFFFF
##4F71BC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f71bc;
/* rgb */ color: rgb(79, 113, 188);
/* oklch */ color: oklch(55.9% 0.123 264.4);
Tailwind
colors: {
  custom: {
    50: '#8999d0',
    500: '#4f71bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f71bc;
$custom-light: #8999d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71bc",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 221.284,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.12321,
    "h": 264.4
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#4F71BC
secondary
#CBBC9C
accent
#AC53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4F71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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