#4F71EF#4F71EF

#4F71EF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.193 H 268.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F71EF
RGBrgb(79, 113, 239)
HSLhsl(227, 83%, 62%)
HSVhsv(227, 67%, 94%)
CMYKcmyk(66.9%, 52.7%, 0%, 6.3%)
CIE-LABlab(51.50, 28.15, -67.16)
CIE-LCHlch(51.50, 72.82, 292.74°)
OKLaboklab(59.24% -0.005 -0.193)
OKLCHoklch(59.24% 0.193 268.5)
XYZxyz(24.7042, 19.7021, 84.1456)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71EF #EFCD4F
analogous
#4FC1EF #4F71EF #7D4FEF
triadic
#4F71EF #EF4F71 #71EF4F
tetradic
#4F71EF #EF4FC1 #EFCD4F #4FEF7D
square
#4F71EF #EF4FC1 #EFCD4F #4FEF7D
split-complementary
#4F71EF #EF7D4F #C1EF4F
monochromatic
#1033B3 #1744EA #4F71EF #879EF4 #BFCCF9

Accessibility & contrast

On white

4.25
#4F71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4F71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71EF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71EF#FFFFFF#000000##000000
##4F71EF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1882F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f71ef;
/* rgb */ color: rgb(79, 113, 239);
/* oklch */ color: oklch(59.2% 0.193 268.5);
Tailwind
colors: {
  custom: {
    50: '#9199f5',
    500: '#4f71ef',
    950: '#000000',
  },
}
SCSS
$custom: #4f71ef;
$custom-light: #9199f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71ef",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 227.25,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.19311,
    "h": 268.5
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#4F71EF
secondary
#EADEB0
accent
#B106E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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