#4F71AA#4F71AA

#4F71AA is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.8% C 0.098 H 260.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F71AA
RGBrgb(79, 113, 170)
HSLhsl(218, 37%, 49%)
HSVhsv(218, 54%, 67%)
CMYKcmyk(53.5%, 33.5%, 0%, 33.3%)
CIE-LABlab(47.46, 4.72, -34.20)
CIE-LCHlch(47.46, 34.53, 277.86°)
OKLaboklab(54.84% -0.0165 -0.0964)
OKLCHoklch(54.84% 0.098 260.3)
XYZxyz(16.3828, 16.3736, 40.3195)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F71AA #AA884F
analogous
#4F9FAA #4F71AA #5B4FAA
triadic
#4F71AA #AA4F71 #71AA4F
tetradic
#4F71AA #AA4F9F #AA884F #4FAA5B
square
#4F71AA #AA4F9F #AA884F #4FAA5B
split-complementary
#4F71AA #AA5B4F #9FAA4F
monochromatic
#283956 #3C5580 #4F71AA #7792C0 #A0B3D3

Accessibility & contrast

On white

4.91
#4F71AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4F71AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F71AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F71AA#FFFFFF#000000##FFFFFF
##4F71AA1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#1F7E86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f71aa;
/* rgb */ color: rgb(79, 113, 170);
/* oklch */ color: oklch(54.8% 0.098 260.3);
Tailwind
colors: {
  custom: {
    50: '#8699c3',
    500: '#4f71aa',
    950: '#000000',
  },
}
SCSS
$custom: #4f71aa;
$custom-light: #8699c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f71aa",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 217.582,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54839,
    "c": 0.09779,
    "h": 260.3
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#4F71AA
secondary
#C0B095
accent
#A25BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4F71AA

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

Preview Lab → · Contrast checker → · Palette generator →

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