#4F71D8#4F71D8

#4F71D8 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.162 H 267.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4F71D8
RGBrgb(79, 113, 216)
HSLhsl(225, 64%, 58%)
HSVhsv(225, 63%, 85%)
CMYKcmyk(63.4%, 47.7%, 0%, 15.3%)
CIE-LABlab(50.01, 20.21, -56.62)
CIE-LCHlch(50.01, 60.12, 289.65°)
OKLaboklab(57.63% -0.0073 -0.162)
OKLCHoklch(57.63% 0.162 267.4)
XYZxyz(21.5200, 18.4285, 67.3754)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71D8 #D8B64F
analogous
#4FB6D8 #4F71D8 #714FD8
triadic
#4F71D8 #D84F71 #71D84F
tetradic
#4F71D8 #D84FB6 #D8B64F #4FD871
square
#4F71D8 #D84FB6 #D8B64F #4FD871
split-complementary
#4F71D8 #D8714F #B6D84F
monochromatic
#1F3B8D #2A4FBF #4F71D8 #8199E3 #B3C2EE

Accessibility & contrast

On white

4.48
#4F71D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4F71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71D8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71D8#FFFFFF#000000##000000
##4F71D81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7EDC
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f71d8;
/* rgb */ color: rgb(79, 113, 216);
/* oklch */ color: oklch(57.6% 0.162 267.4);
Tailwind
colors: {
  custom: {
    50: '#8d99e5',
    500: '#4f71d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f71d8;
$custom-light: #8d99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71d8",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 225.109,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57633,
    "c": 0.16219,
    "h": 267.4
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#4F71D8
secondary
#DDCFA6
accent
#BE41E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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