#2987AC#2987AC

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

Color values

HEX#2987AC
RGBrgb(41, 135, 172)
HSLhsl(197, 62%, 42%)
HSVhsv(197, 76%, 67%)
CMYKcmyk(76.2%, 21.5%, 0%, 32.5%)
CIE-LABlab(52.70, -14.30, -27.29)
CIE-LCHlch(52.70, 30.81, 242.34°)
OKLaboklab(58.61% -0.0665 -0.0767)
OKLCHoklch(58.61% 0.102 229)
XYZxyz(17.0218, 20.7759, 42.1348)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987AC #AC4E29
analogous
#29AC90 #2987AC #2945AC
triadic
#2987AC #AC2987 #87AC29
tetradic
#2987AC #9029AC #AC4E29 #45AC29
square
#2987AC #9029AC #AC4E29 #45AC29
split-complementary
#2987AC #AC2945 #AC9029
monochromatic
#113949 #1D607B #2987AC #41A9D2 #72BFDD

Accessibility & contrast

On white

4.07
#2987AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2987AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987AC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2987AC#FFFFFF#000000##000000
##2987AC1.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)
#7485AE
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2987ac;
/* rgb */ color: rgb(41, 135, 172);
/* oklch */ color: oklch(58.6% 0.102 229.0);
Tailwind
colors: {
  custom: {
    50: '#76aac5',
    500: '#2987ac',
    950: '#000000',
  },
}
SCSS
$custom: #2987ac;
$custom-light: #76aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2987ac",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 196.947,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58615,
    "c": 0.10152,
    "h": 229
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#2987AC
secondary
#C5856C
accent
#7143E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2987AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2987AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva