#4F71D2#4F71D2

#4F71D2 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.154 H 267.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4F71D2
RGBrgb(79, 113, 210)
HSLhsl(224, 59%, 57%)
HSVhsv(224, 62%, 82%)
CMYKcmyk(62.4%, 46.2%, 0%, 17.6%)
CIE-LABlab(49.65, 18.15, -53.80)
CIE-LCHlch(49.65, 56.77, 288.65°)
OKLaboklab(57.24% -0.0081 -0.1537)
OKLCHoklch(57.24% 0.154 267)
XYZxyz(20.7585, 18.1238, 63.3646)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71D2 #D2B04F
analogous
#4FB3D2 #4F71D2 #6F4FD2
triadic
#4F71D2 #D24F71 #71D24F
tetradic
#4F71D2 #D24FB3 #D2B04F #4FD26F
square
#4F71D2 #D24FB3 #D2B04F #4FD26F
split-complementary
#4F71D2 #D26F4F #B3D24F
monochromatic
#223C85 #2E51B5 #4F71D2 #8098DE #B0C0EB

Accessibility & contrast

On white

4.54
#4F71D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4F71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F71D2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71D2#FFFFFF#000000##000000
##4F71D21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD6
Deuteranopia (green-blind)
#2B70D0
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f71d2;
/* rgb */ color: rgb(79, 113, 210);
/* oklch */ color: oklch(57.2% 0.154 267.0);
Tailwind
colors: {
  custom: {
    50: '#8c99e0',
    500: '#4f71d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f71d2;
$custom-light: #8c99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71d2",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 224.427,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.15395,
    "h": 267
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#4F71D2
secondary
#D9CBA4
accent
#BA45E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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