#4871A2#4871A2

#4871A2 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.0% C 0.090 H 253.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4871A2
RGBrgb(72, 113, 162)
HSLhsl(213, 38%, 46%)
HSVhsv(213, 56%, 64%)
CMYKcmyk(55.6%, 30.2%, 0%, 36.5%)
CIE-LABlab(46.70, 0.50, -30.73)
CIE-LCHlch(46.70, 30.74, 270.94°)
OKLaboklab(54.02% -0.0253 -0.0864)
OKLCHoklch(54.02% 0.09 253.7)
XYZxyz(15.0969, 15.7954, 36.4287)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4871A2 #A27948
analogous
#489EA2 #4871A2 #4C48A2
triadic
#4871A2 #A24871 #71A248
tetradic
#4871A2 #A2489E #A27948 #48A24C
square
#4871A2 #A2489E #A27948 #48A24C
split-complementary
#4871A2 #A24C48 #9EA248
monochromatic
#22364D #355378 #4871A2 #6A90BD #95B0D0

Accessibility & contrast

On white

5.05
#4871A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4871A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4871A2#FFFFFF#000000##FFFFFF
##4871A21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#0D7C82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4871a2;
/* rgb */ color: rgb(72, 113, 162);
/* oklch */ color: oklch(54.0% 0.090 253.7);
Tailwind
colors: {
  custom: {
    50: '#8199bd',
    500: '#4871a2',
    950: '#000000',
  },
}
SCSS
$custom: #4871a2;
$custom-light: #8199bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4871a2",
  "rgb": {
    "r": 72,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 212.667,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.09004,
    "h": 253.7
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#4871A2
secondary
#BCA58A
accent
#9959CE
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4871A2

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

Preview Lab → · Contrast checker → · Palette generator →

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