#4F71DB#4F71DB

#4F71DB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.166 H 267.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F71DB
RGBrgb(79, 113, 219)
HSLhsl(225, 66%, 58%)
HSVhsv(225, 64%, 86%)
CMYKcmyk(63.9%, 48.4%, 0%, 14.1%)
CIE-LABlab(50.20, 21.25, -58.02)
CIE-LCHlch(50.20, 61.78, 290.11°)
OKLaboklab(57.84% -0.0069 -0.1661)
OKLCHoklch(57.84% 0.166 267.6)
XYZxyz(21.9114, 18.5850, 69.4367)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71DB #DBB94F
analogous
#4FB7DB #4F71DB #734FDB
triadic
#4F71DB #DB4F71 #71DB4F
tetradic
#4F71DB #DB4FB7 #DBB94F #4FDB73
square
#4F71DB #DB4FB7 #DBB94F #4FDB73
split-complementary
#4F71DB #DB734F #B7DB4F
monochromatic
#1E3A92 #284EC5 #4F71DB #829AE5 #B5C3F0

Accessibility & contrast

On white

4.45
#4F71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4F71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71DB#FFFFFF#000000##000000
##4F71DB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#1871D9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f71db;
/* rgb */ color: rgb(79, 113, 219);
/* oklch */ color: oklch(57.8% 0.166 267.6);
Tailwind
colors: {
  custom: {
    50: '#8e99e7',
    500: '#4f71db',
    950: '#000000',
  },
}
SCSS
$custom: #4f71db;
$custom-light: #8e99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71db",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 225.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.16628,
    "h": 267.6
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#4F71DB
secondary
#DFD1A7
accent
#C03FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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