#2C87A6#2C87A6

#2C87A6 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.4% C 0.095 H 225.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2C87A6
RGBrgb(44, 135, 166)
HSLhsl(195, 58%, 41%)
HSVhsv(195, 73%, 65%)
CMYKcmyk(73.5%, 18.7%, 0%, 34.9%)
CIE-LABlab(52.53, -15.98, -24.10)
CIE-LCHlch(52.53, 28.92, 236.46°)
OKLaboklab(58.41% -0.0674 -0.0675)
OKLCHoklch(58.41% 0.095 225)
XYZxyz(16.5828, 20.6147, 39.1741)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87A6 #A64B2C
analogous
#2CA688 #2C87A6 #2C4AA6
triadic
#2C87A6 #A62C87 #87A62C
tetradic
#2C87A6 #882CA6 #A64B2C #4AA62C
square
#2C87A6 #882CA6 #A64B2C #4AA62C
split-complementary
#2C87A6 #A62C4A #A6882C
monochromatic
#123845 #1F6076 #2C87A6 #42AACD #73C0DA

Accessibility & contrast

On white

4.10
#2C87A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2C87A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87A6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87A6#FFFFFF#000000##000000
##2C87A61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A8
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c87a6;
/* rgb */ color: rgb(44, 135, 166);
/* oklch */ color: oklch(58.4% 0.095 225.0);
Tailwind
colors: {
  custom: {
    50: '#76aac0',
    500: '#2c87a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c87a6;
$custom-light: #76aac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87a6",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 166
  },
  "hsl": {
    "h": 195.246,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58411,
    "c": 0.0954,
    "h": 225
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#2C87A6
secondary
#C1826D
accent
#6E46E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2C87A6

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

Preview Lab → · Contrast checker → · Palette generator →

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