#4F71F6#4F71F6

#4F71F6 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 59.7% C 0.202 H 268.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4F71F6
RGBrgb(79, 113, 246)
HSLhsl(228, 90%, 64%)
HSVhsv(228, 68%, 96%)
CMYKcmyk(67.9%, 54.1%, 0%, 3.5%)
CIE-LABlab(51.98, 30.56, -70.29)
CIE-LCHlch(51.98, 76.64, 293.50°)
OKLaboklab(59.75% -0.0046 -0.2022)
OKLCHoklch(59.75% 0.202 268.7)
XYZxyz(25.7584, 20.1238, 89.6977)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71F6 #F6D44F
analogous
#4FC5F6 #4F71F6 #804FF6
triadic
#4F71F6 #F64F71 #71F64F
tetradic
#4F71F6 #F64FC5 #F6D44F #4FF680
square
#4F71F6 #F64FC5 #F6D44F #4FF680
split-complementary
#4F71F6 #F6804F #C5F64F
monochromatic
#0A2FC1 #1542F3 #4F71F6 #89A0F9 #C3CFFC

Accessibility & contrast

On white

4.18
#4F71F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4F71F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71F6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71F6#FFFFFF#000000##000000
##4F71F61.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f71f6;
/* rgb */ color: rgb(79, 113, 246);
/* oklch */ color: oklch(59.7% 0.202 268.7);
Tailwind
colors: {
  custom: {
    50: '#9399fa',
    500: '#4f71f6',
    950: '#000000',
  },
}
SCSS
$custom: #4f71f6;
$custom-light: #9399fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71f6",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 227.784,
    "s": 90.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.20229,
    "h": 268.7
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#4F71F6
secondary
#EEE2B3
accent
#B700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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