#2878B3#2878B3

#2878B3 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.119 H 245.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2878B3
RGBrgb(40, 120, 179)
HSLhsl(205, 63%, 43%)
HSVhsv(205, 78%, 70%)
CMYKcmyk(77.7%, 33%, 0%, 29.8%)
CIE-LABlab(48.43, -3.24, -38.02)
CIE-LCHlch(48.43, 38.15, 265.13°)
OKLaboklab(55.32% -0.0502 -0.1079)
OKLCHoklch(55.32% 0.119 245.1)
XYZxyz(15.7251, 17.1369, 45.1181)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2878B3 #B36328
analogous
#28B3A8 #2878B3 #2832B3
triadic
#2878B3 #B32878 #78B328
tetradic
#2878B3 #A828B3 #B36328 #32B328
square
#2878B3 #A828B3 #B36328 #32B328
split-complementary
#2878B3 #B32832 #B3A828
monochromatic
#12354F #1D5681 #2878B3 #4397D5 #75B3E0

Accessibility & contrast

On white

4.74
#2878B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2878B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2878B3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2878B3#FFFFFF#000000##FFFFFF
##2878B31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB6
Deuteranopia (green-blind)
#496DB2
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2878b3;
/* rgb */ color: rgb(40, 120, 179);
/* oklch */ color: oklch(55.3% 0.119 245.1);
Tailwind
colors: {
  custom: {
    50: '#779eca',
    500: '#2878b3',
    950: '#000000',
  },
}
SCSS
$custom: #2878b3;
$custom-light: #779eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2878b3",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 205.468,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.11905,
    "h": 245.1
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#2878B3
secondary
#C8956F
accent
#8741E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2878B3

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

Preview Lab → · Contrast checker → · Palette generator →

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