#2C87AB#2C87AB

#2C87AB is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.099 H 228.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2C87AB
RGBrgb(44, 135, 171)
HSLhsl(197, 59%, 42%)
HSVhsv(197, 74%, 67%)
CMYKcmyk(74.3%, 21.1%, 0%, 32.9%)
CIE-LABlab(52.73, -14.27, -26.66)
CIE-LCHlch(52.73, 30.24, 241.85°)
OKLaboklab(58.64% -0.0655 -0.0748)
OKLCHoklch(58.64% 0.099 228.8)
XYZxyz(17.0504, 20.8017, 41.6367)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87AB #AB502C
analogous
#2CAB90 #2C87AB #2C47AB
triadic
#2C87AB #AB2C87 #87AB2C
tetradic
#2C87AB #902CAB #AB502C #47AB2C
square
#2C87AB #902CAB #AB502C #47AB2C
split-complementary
#2C87AB #AB2C47 #AB902C
monochromatic
#133A4A #1F617A #2C87AB #45A8CF #76BFDC

Accessibility & contrast

On white

4.07
#2C87AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2C87AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87AB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87AB#FFFFFF#000000##000000
##2C87AB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AD
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c87ab;
/* rgb */ color: rgb(44, 135, 171);
/* oklch */ color: oklch(58.6% 0.099 228.8);
Tailwind
colors: {
  custom: {
    50: '#77aac4',
    500: '#2c87ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c87ab;
$custom-light: #77aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87ab",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 197.008,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58644,
    "c": 0.09947,
    "h": 228.8
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#2C87AB
secondary
#C3876F
accent
#7246E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2C87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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