#4F71EB#4F71EB

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

Color values

HEX#4F71EB
RGBrgb(79, 113, 235)
HSLhsl(227, 80%, 62%)
HSVhsv(227, 66%, 92%)
CMYKcmyk(66.4%, 51.9%, 0%, 7.8%)
CIE-LABlab(51.23, 26.77, -65.36)
CIE-LCHlch(51.23, 70.62, 292.27°)
OKLaboklab(58.95% -0.0053 -0.1877)
OKLCHoklch(58.95% 0.188 268.4)
XYZxyz(24.1198, 19.4684, 81.0678)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71EB #EBC94F
analogous
#4FBFEB #4F71EB #7B4FEB
triadic
#4F71EB #EB4F71 #71EB4F
tetradic
#4F71EB #EB4FBF #EBC94F #4FEB7B
square
#4F71EB #EB4FBF #EBC94F #4FEB7B
split-complementary
#4F71EB #EB7B4F #BFEB4F
monochromatic
#1435AC #1A46E3 #4F71EB #869DF1 #BDCAF7

Accessibility & contrast

On white

4.29
#4F71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4F71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71EB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71EB#FFFFFF#000000##000000
##4F71EB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f71eb;
/* rgb */ color: rgb(79, 113, 235);
/* oklch */ color: oklch(58.9% 0.188 268.4);
Tailwind
colors: {
  custom: {
    50: '#9199f2',
    500: '#4f71eb',
    950: '#000000',
  },
}
SCSS
$custom: #4f71eb;
$custom-light: #9199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71eb",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 226.923,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.18782,
    "h": 268.4
  },
  "luminance": 0.19471
}

Semantic roles & 50–950 ramp

primary
#4F71EB
secondary
#E8DBAE
accent
#AE0ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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