#4F71E5#4F71E5

#4F71E5 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.180 H 268.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4F71E5
RGBrgb(79, 113, 229)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 66%, 90%)
CMYKcmyk(65.5%, 50.7%, 0%, 10.2%)
CIE-LABlab(50.84, 24.70, -62.63)
CIE-LCHlch(50.84, 67.32, 291.52°)
OKLaboklab(58.52% -0.0058 -0.1797)
OKLCHoklch(58.52% 0.18 268.1)
XYZxyz(23.2676, 19.1275, 76.5793)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71E5 #E5C34F
analogous
#4FBCE5 #4F71E5 #784FE5
triadic
#4F71E5 #E54F71 #71E54F
tetradic
#4F71E5 #E54FBC #E5C34F #4FE578
square
#4F71E5 #E54FBC #E5C34F #4FE578
split-complementary
#4F71E5 #E5784F #BCE54F
monochromatic
#1837A2 #2049D7 #4F71E5 #849CED #BAC7F5

Accessibility & contrast

On white

4.35
#4F71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4F71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71E5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71E5#FFFFFF#000000##000000
##4F71E51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f71e5;
/* rgb */ color: rgb(79, 113, 229);
/* oklch */ color: oklch(58.5% 0.180 268.1);
Tailwind
colors: {
  custom: {
    50: '#8f99ee',
    500: '#4f71e5',
    950: '#000000',
  },
}
SCSS
$custom: #4f71e5;
$custom-light: #8f99ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71e5",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 226.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.17981,
    "h": 268.1
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#4F71E5
secondary
#E5D8AB
accent
#A90FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4F71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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