#2C87A9#2C87A9

#2C87A9 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.6% C 0.098 H 227.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2C87A9
RGBrgb(44, 135, 169)
HSLhsl(196, 59%, 42%)
HSVhsv(196, 74%, 66%)
CMYKcmyk(74%, 20.1%, 0%, 33.7%)
CIE-LABlab(52.65, -14.95, -25.64)
CIE-LCHlch(52.65, 29.68, 239.75°)
OKLaboklab(58.55% -0.0663 -0.0719)
OKLCHoklch(58.55% 0.098 227.3)
XYZxyz(16.8612, 20.7260, 40.6403)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87A9 #A94E2C
analogous
#2CA98D #2C87A9 #2C49A9
triadic
#2C87A9 #A92C87 #87A92C
tetradic
#2C87A9 #8D2CA9 #A94E2C #49A92C
square
#2C87A9 #8D2CA9 #A94E2C #49A92C
split-complementary
#2C87A9 #A92C49 #A98D2C
monochromatic
#133948 #1F6078 #2C87A9 #44A9CE #74BFDB

Accessibility & contrast

On white

4.08
#2C87A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2C87A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87A9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87A9#FFFFFF#000000##000000
##2C87A91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AB
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c87a9;
/* rgb */ color: rgb(44, 135, 169);
/* oklch */ color: oklch(58.6% 0.098 227.3);
Tailwind
colors: {
  custom: {
    50: '#77aac2',
    500: '#2c87a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c87a9;
$custom-light: #77aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87a9",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 169
  },
  "hsl": {
    "h": 196.32,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.09779,
    "h": 227.3
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#2C87A9
secondary
#C3856E
accent
#7046E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2C87A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2C87A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva