#4F71F4#4F71F4

#4F71F4 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.200 H 268.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4F71F4
RGBrgb(79, 113, 244)
HSLhsl(228, 88%, 63%)
HSVhsv(228, 68%, 96%)
CMYKcmyk(67.6%, 53.7%, 0%, 4.3%)
CIE-LABlab(51.84, 29.87, -69.40)
CIE-LCHlch(51.84, 75.55, 293.29°)
OKLaboklab(59.6% -0.0047 -0.1996)
OKLCHoklch(59.6% 0.2 268.7)
XYZxyz(25.4531, 20.0017, 88.0897)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71F4 #F4D24F
analogous
#4FC4F4 #4F71F4 #7F4FF4
triadic
#4F71F4 #F44F71 #71F44F
tetradic
#4F71F4 #F44FC4 #F4D24F #4FF47F
square
#4F71F4 #F44FC4 #F4D24F #4FF47F
split-complementary
#4F71F4 #F47F4F #C4F44F
monochromatic
#0C30BD #1543F0 #4F71F4 #899FF8 #C2CEFB

Accessibility & contrast

On white

4.20
#4F71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4F71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71F4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71F4#FFFFFF#000000##000000
##4F71F41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0183F9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#0091A8
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f71f4;
/* rgb */ color: rgb(79, 113, 244);
/* oklch */ color: oklch(59.6% 0.200 268.7);
Tailwind
colors: {
  custom: {
    50: '#9299f9',
    500: '#4f71f4',
    950: '#000000',
  },
}
SCSS
$custom: #4f71f4;
$custom-light: #9299f9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71f4",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 227.636,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.596,
    "c": 0.19969,
    "h": 268.7
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#4F71F4
secondary
#EDE1B2
accent
#B601E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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