#2878A9#2878A9

#2878A9 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.8% C 0.107 H 240.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2878A9
RGBrgb(40, 120, 169)
HSLhsl(203, 62%, 41%)
HSVhsv(203, 76%, 66%)
CMYKcmyk(76.3%, 29%, 0%, 33.7%)
CIE-LABlab(47.94, -6.91, -32.98)
CIE-LCHlch(47.94, 33.70, 258.17°)
OKLaboklab(54.77% -0.0533 -0.0933)
OKLCHoklch(54.77% 0.107 240.2)
XYZxyz(14.7502, 16.7469, 39.9835)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2878A9 #A95928
analogous
#28A999 #2878A9 #2837A9
triadic
#2878A9 #A92878 #78A928
tetradic
#2878A9 #9928A9 #A95928 #37A928
square
#2878A9 #9928A9 #A95928 #37A928
split-complementary
#2878A9 #A92837 #A99928
monochromatic
#113246 #1C5578 #2878A9 #3D99D1 #6FB3DD

Accessibility & contrast

On white

4.83
#2878A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2878A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2878A9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2878A9#FFFFFF#000000##FFFFFF
##2878A91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6178AB
Deuteranopia (green-blind)
#4F6CA8
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2878a9;
/* rgb */ color: rgb(40, 120, 169);
/* oklch */ color: oklch(54.8% 0.107 240.2);
Tailwind
colors: {
  custom: {
    50: '#759ec3',
    500: '#2878a9',
    950: '#000000',
  },
}
SCSS
$custom: #2878a9;
$custom-light: #759ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2878a9",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 169
  },
  "hsl": {
    "h": 202.791,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.10745,
    "h": 240.2
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#2878A9
secondary
#C48C69
accent
#8043E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2878A9

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

Preview Lab → · Contrast checker → · Palette generator →

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