#2878A3#2878A3

#2878A3 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.101 H 236.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2878A3
RGBrgb(40, 120, 163)
HSLhsl(201, 61%, 40%)
HSVhsv(201, 75%, 64%)
CMYKcmyk(75.5%, 26.4%, 0%, 36.1%)
CIE-LABlab(47.66, -9.08, -29.92)
CIE-LCHlch(47.66, 31.26, 253.12°)
OKLaboklab(54.46% -0.0554 -0.0844)
OKLCHoklch(54.46% 0.101 236.7)
XYZxyz(14.1998, 16.5267, 37.0848)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2878A3 #A35328
analogous
#28A391 #2878A3 #283AA3
triadic
#2878A3 #A32878 #78A328
tetradic
#2878A3 #9128A3 #A35328 #3AA328
square
#2878A3 #9128A3 #A35328 #3AA328
split-complementary
#2878A3 #A3283A #A39128
monochromatic
#103041 #1C5472 #2878A3 #3A9ACF #6BB4DB

Accessibility & contrast

On white

4.88
#2878A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2878A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2878A3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2878A3#FFFFFF#000000##FFFFFF
##2878A31.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6378A5
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2878a3;
/* rgb */ color: rgb(40, 120, 163);
/* oklch */ color: oklch(54.5% 0.101 236.7);
Tailwind
colors: {
  custom: {
    50: '#749ebe',
    500: '#2878a3',
    950: '#000000',
  },
}
SCSS
$custom: #2878a3;
$custom-light: #749ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2878a3",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 200.976,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.10093,
    "h": 236.7
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#2878A3
secondary
#C18666
accent
#7C44E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2878A3

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

Preview Lab → · Contrast checker → · Palette generator →

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