#4F71ED#4F71ED

#4F71ED is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.190 H 268.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4F71ED
RGBrgb(79, 113, 237)
HSLhsl(227, 81%, 62%)
HSVhsv(227, 67%, 93%)
CMYKcmyk(66.7%, 52.3%, 0%, 7.1%)
CIE-LABlab(51.36, 27.46, -66.26)
CIE-LCHlch(51.36, 71.72, 292.51°)
OKLaboklab(59.09% -0.0052 -0.1904)
OKLCHoklch(59.09% 0.19 268.4)
XYZxyz(24.4104, 19.5846, 82.5981)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71ED #EDCB4F
analogous
#4FC0ED #4F71ED #7C4FED
triadic
#4F71ED #ED4F71 #71ED4F
tetradic
#4F71ED #ED4FC0 #EDCB4F #4FED7C
square
#4F71ED #ED4FC0 #EDCB4F #4FED7C
split-complementary
#4F71ED #ED7C4F #C0ED4F
monochromatic
#1234B0 #1844E7 #4F71ED #879EF3 #BECBF8

Accessibility & contrast

On white

4.27
#4F71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4F71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71ED
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71ED#FFFFFF#000000##000000
##4F71ED1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D82F1
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f71ed;
/* rgb */ color: rgb(79, 113, 237);
/* oklch */ color: oklch(59.1% 0.190 268.4);
Tailwind
colors: {
  custom: {
    50: '#9199f4',
    500: '#4f71ed',
    950: '#000000',
  },
}
SCSS
$custom: #4f71ed;
$custom-light: #9199f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71ed",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 227.089,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.19047,
    "h": 268.4
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#4F71ED
secondary
#E9DCAF
accent
#B008DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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