#4F71EC#4F71EC

#4F71EC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.189 H 268.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F71EC
RGBrgb(79, 113, 236)
HSLhsl(227, 81%, 62%)
HSVhsv(227, 67%, 93%)
CMYKcmyk(66.5%, 52.1%, 0%, 7.5%)
CIE-LABlab(51.30, 27.11, -65.81)
CIE-LCHlch(51.30, 71.17, 292.39°)
OKLaboklab(59.02% -0.0052 -0.1891)
OKLCHoklch(59.02% 0.189 268.4)
XYZxyz(24.2647, 19.5263, 81.8308)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71EC #ECCA4F
analogous
#4FC0EC #4F71EC #7B4FEC
triadic
#4F71EC #EC4F71 #71EC4F
tetradic
#4F71EC #EC4FC0 #ECCA4F #4FEC7B
square
#4F71EC #EC4FC0 #ECCA4F #4FEC7B
split-complementary
#4F71EC #EC7B4F #C0EC4F
monochromatic
#1334AE #1945E5 #4F71EC #869EF2 #BDCAF8

Accessibility & contrast

On white

4.28
#4F71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4F71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71EC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71EC#FFFFFF#000000##000000
##4F71EC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F0
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f71ec;
/* rgb */ color: rgb(79, 113, 236);
/* oklch */ color: oklch(59.0% 0.189 268.4);
Tailwind
colors: {
  custom: {
    50: '#9199f3',
    500: '#4f71ec',
    950: '#000000',
  },
}
SCSS
$custom: #4f71ec;
$custom-light: #9199f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71ec",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 227.006,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.18914,
    "h": 268.4
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

primary
#4F71EC
secondary
#E8DCAE
accent
#AF09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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