#4F71E4#4F71E4

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

Color values

HEX#4F71E4
RGBrgb(79, 113, 228)
HSLhsl(226, 73%, 60%)
HSVhsv(226, 65%, 89%)
CMYKcmyk(65.4%, 50.4%, 0%, 10.6%)
CIE-LABlab(50.77, 24.35, -62.17)
CIE-LCHlch(50.77, 66.77, 291.39°)
OKLaboklab(58.45% -0.006 -0.1784)
OKLCHoklch(58.45% 0.178 268.1)
XYZxyz(23.1284, 19.0718, 75.8461)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71E4 #E4C24F
analogous
#4FBBE4 #4F71E4 #784FE4
triadic
#4F71E4 #E44F71 #71E44F
tetradic
#4F71E4 #E44FBB #E4C24F #4FE478
square
#4F71E4 #E44FBB #E4C24F #4FE478
split-complementary
#4F71E4 #E4784F #BBE44F
monochromatic
#1937A0 #214AD5 #4F71E4 #849CEC #B9C7F4

Accessibility & contrast

On white

4.36
#4F71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4F71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71E4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71E4#FFFFFF#000000##000000
##4F71E41.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f71e4;
/* rgb */ color: rgb(79, 113, 228);
/* oklch */ color: oklch(58.5% 0.178 268.1);
Tailwind
colors: {
  custom: {
    50: '#8f99ed',
    500: '#4f71e4',
    950: '#000000',
  },
}
SCSS
$custom: #4f71e4;
$custom-light: #8f99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71e4",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 226.309,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58453,
    "c": 0.17846,
    "h": 268.1
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#4F71E4
secondary
#E4D7AB
accent
#A810D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4F71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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