#4F71BD#4F71BD

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

Color values

HEX#4F71BD
RGBrgb(79, 113, 189)
HSLhsl(221, 45%, 53%)
HSVhsv(221, 58%, 74%)
CMYKcmyk(58.2%, 40.2%, 0%, 25.9%)
CIE-LABlab(48.44, 11.01, -43.68)
CIE-LCHlch(48.44, 45.05, 284.15°)
OKLaboklab(55.92% -0.0119 -0.124)
OKLCHoklch(55.92% 0.125 264.5)
XYZxyz(18.3118, 17.1452, 50.4786)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71BD #BD9B4F
analogous
#4FA8BD #4F71BD #644FBD
triadic
#4F71BD #BD4F71 #71BD4F
tetradic
#4F71BD #BD4FA8 #BD9B4F #4FBD64
square
#4F71BD #BD4FA8 #BD9B4F #4FBD64
split-complementary
#4F71BD #BD644F #A8BD4F
monochromatic
#283C6A #385596 #4F71BD #7C95CE #A8B9DE

Accessibility & contrast

On white

4.74
#4F71BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4F71BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71BD#FFFFFF#000000##FFFFFF
##4F71BD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178C0
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f71bd;
/* rgb */ color: rgb(79, 113, 189);
/* oklch */ color: oklch(55.9% 0.125 264.5);
Tailwind
colors: {
  custom: {
    50: '#8999d1',
    500: '#4f71bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f71bd;
$custom-light: #8999d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71bd",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 221.455,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.12462,
    "h": 264.5
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#4F71BD
secondary
#CCBD9C
accent
#AD53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4F71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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