#2877A3#2877A3

#2877A3 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.102 H 237.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2877A3
RGBrgb(40, 119, 163)
HSLhsl(201, 61%, 40%)
HSVhsv(201, 75%, 64%)
CMYKcmyk(75.5%, 27%, 0%, 36.1%)
CIE-LABlab(47.35, -8.50, -30.40)
CIE-LCHlch(47.35, 31.56, 254.38°)
OKLaboklab(54.21% -0.0544 -0.0858)
OKLCHoklch(54.21% 0.102 237.6)
XYZxyz(14.0801, 16.2875, 37.0450)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2877A3 #A35428
analogous
#28A391 #2877A3 #283AA3
triadic
#2877A3 #A32877 #77A328
tetradic
#2877A3 #9128A3 #A35428 #3AA328
square
#2877A3 #9128A3 #A35428 #3AA328
split-complementary
#2877A3 #A3283A #A39128
monochromatic
#102F41 #1C5372 #2877A3 #3A99CF #6BB3DB

Accessibility & contrast

On white

4.93
#2877A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2877A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2877A3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2877A3#FFFFFF#000000##FFFFFF
##2877A31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6277A5
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2877a3;
/* rgb */ color: rgb(40, 119, 163);
/* oklch */ color: oklch(54.2% 0.102 237.6);
Tailwind
colors: {
  custom: {
    50: '#749ebe',
    500: '#2877a3',
    950: '#000000',
  },
}
SCSS
$custom: #2877a3;
$custom-light: #749ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2877a3",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 163
  },
  "hsl": {
    "h": 201.463,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.10157,
    "h": 237.6
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2877A3

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

Preview Lab → · Contrast checker → · Palette generator →

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