#4F71F0#4F71F0

#4F71F0 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.194 H 268.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4F71F0
RGBrgb(79, 113, 240)
HSLhsl(227, 84%, 63%)
HSVhsv(227, 67%, 94%)
CMYKcmyk(67.1%, 52.9%, 0%, 5.9%)
CIE-LABlab(51.57, 28.49, -67.61)
CIE-LCHlch(51.57, 73.37, 292.85°)
OKLaboklab(59.31% -0.0049 -0.1944)
OKLCHoklch(59.31% 0.194 268.5)
XYZxyz(24.8524, 19.7614, 84.9258)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71F0 #F0CE4F
analogous
#4FC2F0 #4F71F0 #7D4FF0
triadic
#4F71F0 #F04F71 #71F04F
tetradic
#4F71F0 #F04FC2 #F0CE4F #4FF07D
square
#4F71F0 #F04FC2 #F0CE4F #4FF07D
split-complementary
#4F71F0 #F07D4F #C2F04F
monochromatic
#0F32B5 #1744EB #4F71F0 #879EF5 #C0CCFA

Accessibility & contrast

On white

4.24
#4F71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4F71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71F0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71F0#FFFFFF#000000##000000
##4F71F01.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1483F4
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f71f0;
/* rgb */ color: rgb(79, 113, 240);
/* oklch */ color: oklch(59.3% 0.194 268.5);
Tailwind
colors: {
  custom: {
    50: '#9199f6',
    500: '#4f71f0',
    950: '#000000',
  },
}
SCSS
$custom: #4f71f0;
$custom-light: #9199f6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71f0",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 227.329,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.19443,
    "h": 268.5
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#4F71F0
secondary
#EBDEB0
accent
#B205E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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