#2C87AA#2C87AA

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

Color values

HEX#2C87AA
RGBrgb(44, 135, 170)
HSLhsl(197, 59%, 42%)
HSVhsv(197, 74%, 67%)
CMYKcmyk(74.1%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.69, -14.61, -26.15)
CIE-LCHlch(52.69, 29.96, 240.81°)
OKLaboklab(58.6% -0.0659 -0.0734)
OKLCHoklch(58.6% 0.099 228.1)
XYZxyz(16.9554, 20.7637, 41.1366)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87AA #AA4F2C
analogous
#2CAA8E #2C87AA #2C48AA
triadic
#2C87AA #AA2C87 #87AA2C
tetradic
#2C87AA #8E2CAA #AA4F2C #48AA2C
square
#2C87AA #8E2CAA #AA4F2C #48AA2C
split-complementary
#2C87AA #AA2C48 #AA8E2C
monochromatic
#133A49 #1F6079 #2C87AA #44A8CF #75BFDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C87AA#FFFFFF#000000##000000
##2C87AA1.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)
#7585AC
Deuteranopia (green-blind)
#6478AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c87aa;
/* rgb */ color: rgb(44, 135, 170);
/* oklch */ color: oklch(58.6% 0.099 228.1);
Tailwind
colors: {
  custom: {
    50: '#77aac3',
    500: '#2c87aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c87aa;
$custom-light: #77aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87aa",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 196.667,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.09862,
    "h": 228.1
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#2C87AA
secondary
#C3866F
accent
#7146E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2C87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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