#4F71DC#4F71DC

#4F71DC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.168 H 267.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F71DC
RGBrgb(79, 113, 220)
HSLhsl(226, 67%, 59%)
HSVhsv(226, 64%, 86%)
CMYKcmyk(64.1%, 48.6%, 0%, 13.7%)
CIE-LABlab(50.26, 21.59, -58.48)
CIE-LCHlch(50.26, 62.34, 290.26°)
OKLaboklab(57.9% -0.0068 -0.1675)
OKLCHoklch(57.9% 0.168 267.7)
XYZxyz(22.0434, 18.6378, 70.1321)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71DC #DCBA4F
analogous
#4FB7DC #4F71DC #734FDC
triadic
#4F71DC #DC4F71 #71DC4F
tetradic
#4F71DC #DC4FB7 #DCBA4F #4FDC73
square
#4F71DC #DC4FB7 #DCBA4F #4FDC73
split-complementary
#4F71DC #DC734F #B7DC4F
monochromatic
#1D3A93 #274EC6 #4F71DC #829AE6 #B5C3F0

Accessibility & contrast

On white

4.44
#4F71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4F71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71DC#FFFFFF#000000##000000
##4F71DC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#1572DA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f71dc;
/* rgb */ color: rgb(79, 113, 220);
/* oklch */ color: oklch(57.9% 0.168 267.7);
Tailwind
colors: {
  custom: {
    50: '#8e99e7',
    500: '#4f71dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f71dc;
$custom-light: #8e99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71dc",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 225.532,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.16765,
    "h": 267.7
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#4F71DC
secondary
#DFD2A8
accent
#C03EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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