#4872AA#4872AA

#4872AA is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.7% C 0.100 H 256.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4872AA
RGBrgb(72, 114, 170)
HSLhsl(214, 40%, 47%)
HSVhsv(214, 58%, 67%)
CMYKcmyk(57.6%, 32.9%, 0%, 33.3%)
CIE-LABlab(47.38, 2.55, -34.35)
CIE-LCHlch(47.38, 34.45, 274.24°)
OKLaboklab(54.68% -0.0241 -0.0969)
OKLCHoklch(54.68% 0.1 256)
XYZxyz(15.9430, 16.3133, 40.3310)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4872AA #AA8048
analogous
#48A3AA #4872AA #4F48AA
triadic
#4872AA #AA4872 #72AA48
tetradic
#4872AA #AA48A3 #AA8048 #48AA4F
square
#4872AA #AA48A3 #AA8048 #48AA4F
split-complementary
#4872AA #AA4F48 #A3AA48
monochromatic
#243854 #36557F #4872AA #6E92C1 #99B2D4

Accessibility & contrast

On white

4.93
#4872AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4872AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4872AA#FFFFFF#000000##FFFFFF
##4872AA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AC
Deuteranopia (green-blind)
#4E6CA9
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4872aa;
/* rgb */ color: rgb(72, 114, 170);
/* oklch */ color: oklch(54.7% 0.100 256.0);
Tailwind
colors: {
  custom: {
    50: '#839ac3',
    500: '#4872aa',
    950: '#000000',
  },
}
SCSS
$custom: #4872aa;
$custom-light: #839ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#4872aa",
  "rgb": {
    "r": 72,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 214.286,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.09989,
    "h": 256
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#4872AA
secondary
#C0AA8E
accent
#9D57D0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4872AA

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

Preview Lab → · Contrast checker → · Palette generator →

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