#4876AC#4876AC

#4876AC is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.7% C 0.099 H 253.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4876AC
RGBrgb(72, 118, 172)
HSLhsl(212, 41%, 48%)
HSVhsv(212, 58%, 67%)
CMYKcmyk(58.1%, 31.4%, 0%, 32.5%)
CIE-LABlab(48.65, 0.79, -33.53)
CIE-LCHlch(48.65, 33.54, 271.35°)
OKLaboklab(55.7% -0.0281 -0.0945)
OKLCHoklch(55.7% 0.099 253.4)
XYZxyz(16.5947, 17.3117, 41.4887)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876AC #AC7E48
analogous
#48A8AC #4876AC #4C48AC
triadic
#4876AC #AC4876 #76AC48
tetradic
#4876AC #AC48A8 #AC7E48 #48AC4C
square
#4876AC #AC48A8 #AC7E48 #48AC4C
split-complementary
#4876AC #AC4C48 #A8AC48
monochromatic
#243B56 #365881 #4876AC #6F95C3 #9AB5D5

Accessibility & contrast

On white

4.71
#4876AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4876AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4876AC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876AC#FFFFFF#000000##FFFFFF
##4876AC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AE
Deuteranopia (green-blind)
#536FAB
Tritanopia (blue-blind)
#008289
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4876ac;
/* rgb */ color: rgb(72, 118, 172);
/* oklch */ color: oklch(55.7% 0.099 253.4);
Tailwind
colors: {
  custom: {
    50: '#839dc5',
    500: '#4876ac',
    950: '#000000',
  },
}
SCSS
$custom: #4876ac;
$custom-light: #839dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4876ac",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 172
  },
  "hsl": {
    "h": 212.4,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.0986,
    "h": 253.4
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#4876AC
secondary
#C1AA8F
accent
#9957D1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4876AC

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

Preview Lab → · Contrast checker → · Palette generator →

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