#4F71DF#4F71DF

#4F71DF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.172 H 267.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4F71DF
RGBrgb(79, 113, 223)
HSLhsl(226, 69%, 59%)
HSVhsv(226, 65%, 87%)
CMYKcmyk(64.6%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.45, 22.62, -59.87)
CIE-LCHlch(50.45, 64.00, 290.70°)
OKLaboklab(58.11% -0.0065 -0.1716)
OKLCHoklch(58.11% 0.172 267.8)
XYZxyz(22.4443, 18.7982, 72.2433)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71DF #DFBD4F
analogous
#4FB9DF #4F71DF #754FDF
triadic
#4F71DF #DF4F71 #71DF4F
tetradic
#4F71DF #DF4FB9 #DFBD4F #4FDF75
square
#4F71DF #DF4FB9 #DFBD4F #4FDF75
split-complementary
#4F71DF #DF754F #B9DF4F
monochromatic
#1C3998 #254CCC #4F71DF #839BE8 #B7C5F2

Accessibility & contrast

On white

4.41
#4F71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4F71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71DF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71DF#FFFFFF#000000##000000
##4F71DF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#0972DD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f71df;
/* rgb */ color: rgb(79, 113, 223);
/* oklch */ color: oklch(58.1% 0.172 267.8);
Tailwind
colors: {
  custom: {
    50: '#8e99ea',
    500: '#4f71df',
    950: '#000000',
  },
}
SCSS
$custom: #4f71df;
$custom-light: #8e99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71df",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 225.833,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.17172,
    "h": 267.8
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#4F71DF
secondary
#E1D4A9
accent
#C23CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4F71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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