#4879BA#4879BA

#4879BA is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.114 H 256.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4879BA
RGBrgb(72, 121, 186)
HSLhsl(214, 45%, 51%)
HSVhsv(214, 61%, 73%)
CMYKcmyk(61.3%, 34.9%, 0%, 27.1%)
CIE-LABlab(50.21, 3.69, -39.18)
CIE-LCHlch(50.21, 39.35, 275.38°)
OKLaboklab(57.15% -0.0276 -0.1109)
OKLCHoklch(57.15% 0.114 256)
XYZxyz(18.3696, 18.5960, 49.0662)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4879BA #BA8948
analogous
#48B2BA #4879BA #5048BA
triadic
#4879BA #BA4879 #79BA48
tetradic
#4879BA #BA48B2 #BA8948 #48BA50
square
#4879BA #BA48B2 #BA8948 #48BA50
split-complementary
#4879BA #BA5048 #B2BA48
monochromatic
#253F62 #365C8F #4879BA #749ACB #A1BADC

Accessibility & contrast

On white

4.45
#4879BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4879BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4879BA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4879BA#FFFFFF#000000##000000
##4879BA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4879ba;
/* rgb */ color: rgb(72, 121, 186);
/* oklch */ color: oklch(57.1% 0.114 256.0);
Tailwind
colors: {
  custom: {
    50: '#859fcf',
    500: '#4879ba',
    950: '#000000',
  },
}
SCSS
$custom: #4879ba;
$custom-light: #859fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4879ba",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 214.211,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.11429,
    "h": 256
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#4879BA
secondary
#C8B296
accent
#9D53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4879BA

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

Preview Lab → · Contrast checker → · Palette generator →

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