#4F71E9#4F71E9

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

Color values

HEX#4F71E9
RGBrgb(79, 113, 233)
HSLhsl(227, 78%, 61%)
HSVhsv(227, 66%, 91%)
CMYKcmyk(66.1%, 51.5%, 0%, 8.6%)
CIE-LABlab(51.10, 26.08, -64.45)
CIE-LCHlch(51.10, 69.52, 292.03°)
OKLaboklab(58.8% -0.0055 -0.1851)
OKLCHoklch(58.8% 0.185 268.3)
XYZxyz(23.8325, 19.3535, 79.5546)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71E9 #E9C74F
analogous
#4FBEE9 #4F71E9 #7A4FE9
triadic
#4F71E9 #E94F71 #71E94F
tetradic
#4F71E9 #E94FBE #E9C74F #4FE97A
square
#4F71E9 #E94FBE #E9C74F #4FE97A
split-complementary
#4F71E9 #E97A4F #BEE94F
monochromatic
#1536A9 #1C47DF #4F71E9 #859DF0 #BCC9F7

Accessibility & contrast

On white

4.31
#4F71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4F71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71E9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71E9#FFFFFF#000000##000000
##4F71E91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581ED
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f71e9;
/* rgb */ color: rgb(79, 113, 233);
/* oklch */ color: oklch(58.8% 0.185 268.3);
Tailwind
colors: {
  custom: {
    50: '#9099f1',
    500: '#4f71e9',
    950: '#000000',
  },
}
SCSS
$custom: #4f71e9;
$custom-light: #9099f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71e9",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 226.753,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58805,
    "c": 0.18515,
    "h": 268.3
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#4F71E9
secondary
#E7DAAD
accent
#AC0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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