#4F71BA#4F71BA

#4F71BA is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.120 H 264.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F71BA
RGBrgb(79, 113, 186)
HSLhsl(221, 44%, 52%)
HSVhsv(221, 58%, 73%)
CMYKcmyk(57.5%, 39.2%, 0%, 27.1%)
CIE-LABlab(48.28, 10.01, -42.21)
CIE-LCHlch(48.28, 43.38, 283.34°)
OKLaboklab(55.74% -0.0125 -0.1197)
OKLCHoklch(55.74% 0.12 264)
XYZxyz(17.9895, 17.0162, 48.7813)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71BA #BA984F
analogous
#4FA6BA #4F71BA #634FBA
triadic
#4F71BA #BA4F71 #71BA4F
tetradic
#4F71BA #BA4FA6 #BA984F #4FBA63
square
#4F71BA #BA4FA6 #BA984F #4FBA63
split-complementary
#4F71BA #BA634F #A6BA4F
monochromatic
#283C66 #395692 #4F71BA #7B94CB #A7B8DC

Accessibility & contrast

On white

4.77
#4F71BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4F71BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71BA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71BA#FFFFFF#000000##FFFFFF
##4F71BA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f71ba;
/* rgb */ color: rgb(79, 113, 186);
/* oklch */ color: oklch(55.7% 0.120 264.0);
Tailwind
colors: {
  custom: {
    50: '#8899cf',
    500: '#4f71ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f71ba;
$custom-light: #8899cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71ba",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 220.935,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.12038,
    "h": 264
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

primary
#4F71BA
secondary
#CABB9B
accent
#AB54D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4F71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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