#4872AB#4872AB

#4872AB is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.7% C 0.101 H 256.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4872AB
RGBrgb(72, 114, 171)
HSLhsl(215, 41%, 48%)
HSVhsv(215, 58%, 67%)
CMYKcmyk(57.9%, 33.3%, 0%, 32.9%)
CIE-LABlab(47.43, 2.88, -34.86)
CIE-LCHlch(47.43, 34.98, 274.72°)
OKLaboklab(54.73% -0.0238 -0.0984)
OKLCHoklch(54.73% 0.101 256.4)
XYZxyz(16.0379, 16.3513, 40.8311)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872AB #AB8148
analogous
#48A4AB #4872AB #4F48AB
triadic
#4872AB #AB4872 #72AB48
tetradic
#4872AB #AB48A4 #AB8148 #48AB4F
square
#4872AB #AB48A4 #AB8148 #48AB4F
split-complementary
#4872AB #AB4F48 #A4AB48
monochromatic
#243955 #365580 #4872AB #6E92C2 #99B2D4

Accessibility & contrast

On white

4.92
#4872AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4872AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872AB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872AB#FFFFFF#000000##FFFFFF
##4872AB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#4E6CAA
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4872ab;
/* rgb */ color: rgb(72, 114, 171);
/* oklch */ color: oklch(54.7% 0.101 256.4);
Tailwind
colors: {
  custom: {
    50: '#839ac4',
    500: '#4872ab',
    950: '#000000',
  },
}
SCSS
$custom: #4872ab;
$custom-light: #839ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4872ab",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 171
  },
  "hsl": {
    "h": 214.545,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.10125,
    "h": 256.4
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#4872AB
secondary
#C0AB8E
accent
#9D57D1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4872AB

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

Preview Lab → · Contrast checker → · Palette generator →

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