#2C87A4#2C87A4

#2C87A4 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.094 H 223.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2C87A4
RGBrgb(44, 135, 164)
HSLhsl(195, 58%, 41%)
HSVhsv(195, 73%, 64%)
CMYKcmyk(73.2%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.44, -16.66, -23.07)
CIE-LCHlch(52.44, 28.45, 234.17°)
OKLaboklab(58.32% -0.0682 -0.0645)
OKLCHoklch(58.32% 0.094 223.4)
XYZxyz(16.4008, 20.5419, 38.2154)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87A4 #A4492C
analogous
#2CA485 #2C87A4 #2C4BA4
triadic
#2C87A4 #A42C87 #87A42C
tetradic
#2C87A4 #852CA4 #A4492C #4BA42C
square
#2C87A4 #852CA4 #A4492C #4BA42C
split-complementary
#2C87A4 #A42C4B #A4852C
monochromatic
#123843 #1F5F74 #2C87A4 #41AACC #71C0D9

Accessibility & contrast

On white

4.11
#2C87A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2C87A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87A4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87A4#FFFFFF#000000##000000
##2C87A41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A5
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c87a4;
/* rgb */ color: rgb(44, 135, 164);
/* oklch */ color: oklch(58.3% 0.094 223.4);
Tailwind
colors: {
  custom: {
    50: '#76aabf',
    500: '#2c87a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c87a4;
$custom-light: #76aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87a4",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 194.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.0939,
    "h": 223.4
  },
  "luminance": 0.20544
}

Semantic roles & 50–950 ramp

primary
#2C87A4
secondary
#C0806B
accent
#6C47E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2C87A4

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

Preview Lab → · Contrast checker → · Palette generator →

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