#2879C4#2879C4

#2879C4 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.6% C 0.139 H 250.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2879C4
RGBrgb(40, 121, 196)
HSLhsl(209, 66%, 46%)
HSVhsv(209, 80%, 77%)
CMYKcmyk(79.6%, 38.3%, 0%, 23.1%)
CIE-LABlab(49.63, 2.50, -45.91)
CIE-LCHlch(49.63, 45.98, 273.12°)
OKLaboklab(56.56% -0.0464 -0.131)
OKLCHoklch(56.56% 0.139 250.5)
XYZxyz(17.6725, 18.1092, 54.7779)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879C4 #C47328
analogous
#28C4C1 #2879C4 #282BC4
triadic
#2879C4 #C42879 #79C428
tetradic
#2879C4 #C128C4 #C47328 #2BC428
square
#2879C4 #C128C4 #C47328 #2BC428
split-complementary
#2879C4 #C4282B #C4C128
monochromatic
#133A5E #1E5A91 #2879C4 #4E97DB #81B5E5

Accessibility & contrast

On white

4.54
#2879C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2879C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2879C4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879C4#FFFFFF#000000##000000
##2879C41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC7
Deuteranopia (green-blind)
#3D70C3
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2879c4;
/* rgb */ color: rgb(40, 121, 196);
/* oklch */ color: oklch(56.6% 0.139 250.5);
Tailwind
colors: {
  custom: {
    50: '#7a9fd6',
    500: '#2879c4',
    950: '#000000',
  },
}
SCSS
$custom: #2879c4;
$custom-light: #7a9fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2879c4",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 196
  },
  "hsl": {
    "h": 208.846,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56556,
    "c": 0.13903,
    "h": 250.5
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#2879C4
secondary
#CEA27A
accent
#913FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2879C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2879C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva