#4F71EA#4F71EA

#4F71EA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.186 H 268.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4F71EA
RGBrgb(79, 113, 234)
HSLhsl(227, 79%, 61%)
HSVhsv(227, 66%, 92%)
CMYKcmyk(66.2%, 51.7%, 0%, 8.2%)
CIE-LABlab(51.16, 26.42, -64.90)
CIE-LCHlch(51.16, 70.07, 292.15°)
OKLaboklab(58.88% -0.0054 -0.1864)
OKLCHoklch(58.88% 0.186 268.3)
XYZxyz(23.9758, 19.4108, 80.3091)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71EA #EAC84F
analogous
#4FBEEA #4F71EA #7B4FEA
triadic
#4F71EA #EA4F71 #71EA4F
tetradic
#4F71EA #EA4FBE #EAC84F #4FEA7B
square
#4F71EA #EA4FBE #EAC84F #4FEA7B
split-complementary
#4F71EA #EA7B4F #BEEA4F
monochromatic
#1435AA #1B46E1 #4F71EA #869DF1 #BCC9F7

Accessibility & contrast

On white

4.30
#4F71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4F71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71EA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71EA#FFFFFF#000000##000000
##4F71EA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2381EE
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f71ea;
/* rgb */ color: rgb(79, 113, 234);
/* oklch */ color: oklch(58.9% 0.186 268.3);
Tailwind
colors: {
  custom: {
    50: '#9099f1',
    500: '#4f71ea',
    950: '#000000',
  },
}
SCSS
$custom: #4f71ea;
$custom-light: #9099f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71ea",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 226.839,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.18649,
    "h": 268.3
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#4F71EA
secondary
#E7DBAD
accent
#AD0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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