#2878B0#2878B0

#2878B0 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.2% C 0.115 H 243.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2878B0
RGBrgb(40, 120, 176)
HSLhsl(205, 63%, 42%)
HSVhsv(205, 77%, 69%)
CMYKcmyk(77.3%, 31.8%, 0%, 31%)
CIE-LABlab(48.28, -4.34, -36.51)
CIE-LCHlch(48.28, 36.77, 263.21°)
OKLaboklab(55.15% -0.0511 -0.1035)
OKLCHoklch(55.15% 0.115 243.7)
XYZxyz(15.4250, 17.0168, 43.5375)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2878B0 #B06028
analogous
#28B0A4 #2878B0 #2834B0
triadic
#2878B0 #B02878 #78B028
tetradic
#2878B0 #A428B0 #B06028 #34B028
square
#2878B0 #A428B0 #B06028 #34B028
split-complementary
#2878B0 #B02834 #B0A428
monochromatic
#11344C #1D567E #2878B0 #4198D4 #73B3DF

Accessibility & contrast

On white

4.77
#2878B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2878B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2878B0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2878B0#FFFFFF#000000##FFFFFF
##2878B01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB2
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2878b0;
/* rgb */ color: rgb(40, 120, 176);
/* oklch */ color: oklch(55.2% 0.115 243.7);
Tailwind
colors: {
  custom: {
    50: '#769ec8',
    500: '#2878b0',
    950: '#000000',
  },
}
SCSS
$custom: #2878b0;
$custom-light: #769ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2878b0",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 176
  },
  "hsl": {
    "h": 204.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.11548,
    "h": 243.7
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#2878B0
secondary
#C6926D
accent
#8542E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2878B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2878B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva