#4872AC#4872AC

#4872AC is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.8% C 0.103 H 256.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4872AC
RGBrgb(72, 114, 172)
HSLhsl(215, 41%, 48%)
HSVhsv(215, 58%, 67%)
CMYKcmyk(58.1%, 33.7%, 0%, 32.5%)
CIE-LABlab(47.48, 3.22, -35.37)
CIE-LCHlch(47.48, 35.51, 275.20°)
OKLaboklab(54.79% -0.0236 -0.0999)
OKLCHoklch(54.79% 0.103 256.7)
XYZxyz(16.1336, 16.3895, 41.3350)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872AC #AC8248
analogous
#48A4AC #4872AC #5048AC
triadic
#4872AC #AC4872 #72AC48
tetradic
#4872AC #AC48A4 #AC8248 #48AC50
square
#4872AC #AC48A4 #AC8248 #48AC50
split-complementary
#4872AC #AC5048 #A4AC48
monochromatic
#243956 #365581 #4872AC #6F92C3 #9AB2D5

Accessibility & contrast

On white

4.91
#4872AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4872AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4872AC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4872AC#FFFFFF#000000##FFFFFF
##4872AC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4872ac;
/* rgb */ color: rgb(72, 114, 172);
/* oklch */ color: oklch(54.8% 0.103 256.7);
Tailwind
colors: {
  custom: {
    50: '#839ac5',
    500: '#4872ac',
    950: '#000000',
  },
}
SCSS
$custom: #4872ac;
$custom-light: #839ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4872ac",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 172
  },
  "hsl": {
    "h": 214.8,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.10261,
    "h": 256.7
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#4872AC
secondary
#C1AC8F
accent
#9E57D1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4872AC

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

Preview Lab → · Contrast checker → · Palette generator →

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