#2879C5#2879C5

#2879C5 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.6% C 0.140 H 250.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2879C5
RGBrgb(40, 121, 197)
HSLhsl(209, 66%, 46%)
HSVhsv(209, 80%, 77%)
CMYKcmyk(79.7%, 38.6%, 0%, 22.7%)
CIE-LABlab(49.68, 2.87, -46.40)
CIE-LCHlch(49.68, 46.49, 273.55°)
OKLaboklab(56.62% -0.0462 -0.1325)
OKLCHoklch(56.62% 0.14 250.8)
XYZxyz(17.7867, 18.1549, 55.3793)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879C5 #C57428
analogous
#28C5C3 #2879C5 #282AC5
triadic
#2879C5 #C52879 #79C528
tetradic
#2879C5 #C328C5 #C57428 #2AC528
square
#2879C5 #C328C5 #C57428 #2AC528
split-complementary
#2879C5 #C5282A #C5C328
monochromatic
#133B5F #1E5A92 #2879C5 #4F97DB #82B5E6

Accessibility & contrast

On white

4.53
#2879C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2879C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2879C5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879C5#FFFFFF#000000##000000
##2879C51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2879c5;
/* rgb */ color: rgb(40, 121, 197);
/* oklch */ color: oklch(56.6% 0.140 250.8);
Tailwind
colors: {
  custom: {
    50: '#7a9fd7',
    500: '#2879c5',
    950: '#000000',
  },
}
SCSS
$custom: #2879c5;
$custom-light: #7a9fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2879c5",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 197
  },
  "hsl": {
    "h": 209.045,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.14029,
    "h": 250.8
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2879C5

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

Preview Lab → · Contrast checker → · Palette generator →

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