#4F71BF#4F71BF

#4F71BF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.127 H 264.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F71BF
RGBrgb(79, 113, 191)
HSLhsl(222, 47%, 53%)
HSVhsv(222, 59%, 75%)
CMYKcmyk(58.6%, 40.8%, 0%, 25.1%)
CIE-LABlab(48.55, 11.68, -44.66)
CIE-LCHlch(48.55, 46.17, 284.66°)
OKLaboklab(56.04% -0.0115 -0.1269)
OKLCHoklch(56.04% 0.127 264.8)
XYZxyz(18.5303, 17.2326, 51.6298)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71BF #BF9D4F
analogous
#4FA9BF #4F71BF #654FBF
triadic
#4F71BF #BF4F71 #71BF4F
tetradic
#4F71BF #BF4FA9 #BF9D4F #4FBF65
square
#4F71BF #BF4FA9 #BF9D4F #4FBF65
split-complementary
#4F71BF #BF654F #A9BF4F
monochromatic
#273C6C #385599 #4F71BF #7C95CF #A9B9E0

Accessibility & contrast

On white

4.72
#4F71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4F71BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71BF#FFFFFF#000000##FFFFFF
##4F71BF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#416FBD
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f71bf;
/* rgb */ color: rgb(79, 113, 191);
/* oklch */ color: oklch(56.0% 0.127 264.8);
Tailwind
colors: {
  custom: {
    50: '#8999d3',
    500: '#4f71bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f71bf;
$custom-light: #8999d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71bf",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 221.786,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.12744,
    "h": 264.8
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#4F71BF
secondary
#CDBE9D
accent
#AE51D6
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4F71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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