#4F72AA#4F72AA

#4F72AA is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.1% C 0.097 H 259.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4F72AA
RGBrgb(79, 114, 170)
HSLhsl(217, 37%, 49%)
HSVhsv(217, 54%, 67%)
CMYKcmyk(53.5%, 32.9%, 0%, 33.3%)
CIE-LABlab(47.75, 4.11, -33.75)
CIE-LCHlch(47.75, 34.00, 276.95°)
OKLaboklab(55.06% -0.0177 -0.0951)
OKLCHoklch(55.06% 0.097 259.5)
XYZxyz(16.4950, 16.5979, 40.3569)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F72AA #AA874F
analogous
#4FA0AA #4F72AA #5A4FAA
triadic
#4F72AA #AA4F72 #72AA4F
tetradic
#4F72AA #AA4FA0 #AA874F #4FAA5A
square
#4F72AA #AA4FA0 #AA874F #4FAA5A
split-complementary
#4F72AA #AA5A4F #A0AA4F
monochromatic
#283A56 #3C5680 #4F72AA #7793C0 #A0B4D3

Accessibility & contrast

On white

4.86
#4F72AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4F72AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F72AA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F72AA#FFFFFF#000000##FFFFFF
##4F72AA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f72aa;
/* rgb */ color: rgb(79, 114, 170);
/* oklch */ color: oklch(55.1% 0.097 259.5);
Tailwind
colors: {
  custom: {
    50: '#869ac3',
    500: '#4f72aa',
    950: '#000000',
  },
}
SCSS
$custom: #4f72aa;
$custom-light: #869ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f72aa",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 216.923,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.0967,
    "h": 259.5
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#4F72AA
secondary
#C0AF95
accent
#A15BCD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #4F72AA

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

Preview Lab → · Contrast checker → · Palette generator →

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