#4879B2#4879B2

#4879B2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.7% C 0.104 H 253.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4879B2
RGBrgb(72, 121, 178)
HSLhsl(212, 42%, 49%)
HSVhsv(212, 60%, 70%)
CMYKcmyk(59.6%, 32%, 0%, 30.2%)
CIE-LABlab(49.82, 0.99, -35.18)
CIE-LCHlch(49.82, 35.19, 271.61°)
OKLaboklab(56.71% -0.0298 -0.0993)
OKLCHoklch(56.71% 0.104 253.3)
XYZxyz(17.5429, 18.2653, 44.7119)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879B2 #B28148
analogous
#48AEB2 #4879B2 #4C48B2
triadic
#4879B2 #B24879 #79B248
tetradic
#4879B2 #B248AE #B28148 #48B24C
square
#4879B2 #B248AE #B28148 #48B24C
split-complementary
#4879B2 #B24C48 #AEB248
monochromatic
#253E5B #365B86 #4879B2 #7198C6 #9DB8D7

Accessibility & contrast

On white

4.51
#4879B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4879B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879B2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879B2#FFFFFF#000000##000000
##4879B21.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4879b2;
/* rgb */ color: rgb(72, 121, 178);
/* oklch */ color: oklch(56.7% 0.104 253.3);
Tailwind
colors: {
  custom: {
    50: '#849fc9',
    500: '#4879b2',
    950: '#000000',
  },
}
SCSS
$custom: #4879b2;
$custom-light: #849fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4879b2",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 212.264,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.10366,
    "h": 253.3
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#4879B2
secondary
#C4AD92
accent
#9956D2
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4879B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4879B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva