#2C87AE#2C87AE

#2C87AE is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.102 H 230.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C87AE
RGBrgb(44, 135, 174)
HSLhsl(198, 60%, 43%)
HSVhsv(198, 75%, 68%)
CMYKcmyk(74.7%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.86, -13.23, -28.19)
CIE-LCHlch(52.86, 31.14, 244.86°)
OKLaboklab(58.79% -0.0644 -0.0792)
OKLCHoklch(58.79% 0.102 230.9)
XYZxyz(17.3396, 20.9174, 43.1598)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87AE #AE532C
analogous
#2CAE94 #2C87AE #2C46AE
triadic
#2C87AE #AE2C87 #87AE2C
tetradic
#2C87AE #942CAE #AE532C #46AE2C
square
#2C87AE #942CAE #AE532C #46AE2C
split-complementary
#2C87AE #AE2C46 #AE942C
monochromatic
#133B4C #20617D #2C87AE #47A7D0 #78BEDD

Accessibility & contrast

On white

4.05
#2C87AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2C87AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87AE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87AE#FFFFFF#000000##000000
##2C87AE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c87ae;
/* rgb */ color: rgb(44, 135, 174);
/* oklch */ color: oklch(58.8% 0.102 230.9);
Tailwind
colors: {
  custom: {
    50: '#78aac6',
    500: '#2c87ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c87ae;
$custom-light: #78aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87ae",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 198,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.10212,
    "h": 230.9
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#2C87AE
secondary
#C58A71
accent
#7445E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87AE

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

Preview Lab → · Contrast checker → · Palette generator →

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