#4872AE#4872AE

#4872AE is a mid, moderate blue. Relative luminance 0.165; OKLCH L 54.9% C 0.105 H 257.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4872AE
RGBrgb(72, 114, 174)
HSLhsl(215, 41%, 48%)
HSVhsv(215, 59%, 68%)
CMYKcmyk(58.6%, 34.5%, 0%, 31.8%)
CIE-LABlab(47.58, 3.89, -36.37)
CIE-LCHlch(47.58, 36.58, 276.10°)
OKLaboklab(54.9% -0.023 -0.1028)
OKLCHoklch(54.9% 0.105 257.4)
XYZxyz(16.3271, 16.4669, 42.3542)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872AE #AE8448
analogous
#48A5AE #4872AE #5148AE
triadic
#4872AE #AE4872 #72AE48
tetradic
#4872AE #AE48A5 #AE8448 #48AE51
square
#4872AE #AE48A5 #AE8448 #48AE51
split-complementary
#4872AE #AE5148 #A5AE48
monochromatic
#243957 #365683 #4872AE #7092C4 #9BB3D6

Accessibility & contrast

On white

4.89
#4872AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4872AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872AE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872AE#FFFFFF#000000##FFFFFF
##4872AE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5976B1
Deuteranopia (green-blind)
#4C6CAD
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4872ae;
/* rgb */ color: rgb(72, 114, 174);
/* oklch */ color: oklch(54.9% 0.105 257.4);
Tailwind
colors: {
  custom: {
    50: '#839ac6',
    500: '#4872ae',
    950: '#000000',
  },
}
SCSS
$custom: #4872ae;
$custom-light: #839ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#4872ae",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 174
  },
  "hsl": {
    "h": 215.294,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.10536,
    "h": 257.4
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#4872AE
secondary
#C2AD90
accent
#9F57D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4872AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4872AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva