#2879B2#2879B2

#2879B2 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.117 H 243.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2879B2
RGBrgb(40, 121, 178)
HSLhsl(205, 63%, 43%)
HSVhsv(205, 78%, 70%)
CMYKcmyk(77.5%, 32%, 0%, 30.2%)
CIE-LABlab(48.68, -4.20, -37.04)
CIE-LCHlch(48.68, 37.28, 263.52°)
OKLaboklab(55.5% -0.0514 -0.1051)
OKLCHoklch(55.5% 0.117 243.9)
XYZxyz(15.7452, 17.3383, 44.6276)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879B2 #B26128
analogous
#28B2A6 #2879B2 #2834B2
triadic
#2879B2 #B22879 #79B228
tetradic
#2879B2 #A628B2 #B26128 #34B228
square
#2879B2 #A628B2 #B26128 #34B228
split-complementary
#2879B2 #B22834 #B2A628
monochromatic
#12354E #1D5780 #2879B2 #4398D5 #75B4E0

Accessibility & contrast

On white

4.70
#2879B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2879B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879B2#FFFFFF#000000##FFFFFF
##2879B21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2879b2;
/* rgb */ color: rgb(40, 121, 178);
/* oklch */ color: oklch(55.5% 0.117 243.9);
Tailwind
colors: {
  custom: {
    50: '#769fc9',
    500: '#2879b2',
    950: '#000000',
  },
}
SCSS
$custom: #2879b2;
$custom-light: #769fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2879b2",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 204.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55504,
    "c": 0.11699,
    "h": 243.9
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#2879B2
secondary
#C7936F
accent
#8641E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2879B2

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

Preview Lab → · Contrast checker → · Palette generator →

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