#4F71CC#4F71CC

#4F71CC is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.146 H 266.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4F71CC
RGBrgb(79, 113, 204)
HSLhsl(224, 55%, 55%)
HSVhsv(224, 61%, 80%)
CMYKcmyk(61.3%, 44.6%, 0%, 20%)
CIE-LABlab(49.29, 16.10, -50.94)
CIE-LCHlch(49.29, 53.43, 287.54°)
OKLaboklab(56.85% -0.0091 -0.1453)
OKLCHoklch(56.85% 0.146 266.4)
XYZxyz(20.0249, 17.8304, 59.5014)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71CC #CCAA4F
analogous
#4FAFCC #4F71CC #6B4FCC
triadic
#4F71CC #CC4F71 #71CC4F
tetradic
#4F71CC #CC4FAF #CCAA4F #4FCC6B
square
#4F71CC #CC4FAF #CCAA4F #4FCC6B
split-complementary
#4F71CC #CC6B4F #AFCC4F
monochromatic
#243C7D #3253AC #4F71CC #7E97DA #AEBEE7

Accessibility & contrast

On white

4.60
#4F71CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4F71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71CC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71CC#FFFFFF#000000##FFFFFF
##4F71CC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f71cc;
/* rgb */ color: rgb(79, 113, 204);
/* oklch */ color: oklch(56.8% 0.146 266.4);
Tailwind
colors: {
  custom: {
    50: '#8b99dc',
    500: '#4f71cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f71cc;
$custom-light: #8b99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71cc",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 223.68,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.14563,
    "h": 266.4
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#4F71CC
secondary
#D5C7A1
accent
#B649DE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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