#4871AA#4871AA

#4871AA is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.101 H 256.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4871AA
RGBrgb(72, 113, 170)
HSLhsl(215, 40%, 47%)
HSVhsv(215, 58%, 67%)
CMYKcmyk(57.6%, 33.5%, 0%, 33.3%)
CIE-LABlab(47.09, 3.16, -34.81)
CIE-LCHlch(47.09, 34.95, 275.18°)
OKLaboklab(54.45% -0.023 -0.0983)
OKLCHoklch(54.45% 0.101 256.8)
XYZxyz(15.8308, 16.0889, 40.2936)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871AA #AA8148
analogous
#48A2AA #4871AA #5048AA
triadic
#4871AA #AA4871 #71AA48
tetradic
#4871AA #AA48A2 #AA8148 #48AA50
square
#4871AA #AA48A2 #AA8148 #48AA50
split-complementary
#4871AA #AA5048 #A2AA48
monochromatic
#243854 #36547F #4871AA #6E91C1 #99B1D4

Accessibility & contrast

On white

4.98
#4871AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4871AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4871AA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4871AA#FFFFFF#000000##FFFFFF
##4871AA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#4D6BA9
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4871aa;
/* rgb */ color: rgb(72, 113, 170);
/* oklch */ color: oklch(54.5% 0.101 256.8);
Tailwind
colors: {
  custom: {
    50: '#8399c3',
    500: '#4871aa',
    950: '#000000',
  },
}
SCSS
$custom: #4871aa;
$custom-light: #8399c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4871aa",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 214.898,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.10092,
    "h": 256.8
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#4871AA
secondary
#C0AB8E
accent
#9E57D0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4871AA

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

Preview Lab → · Contrast checker → · Palette generator →

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