#2987AB#2987AB

#2987AB is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.6% C 0.101 H 228.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2987AB
RGBrgb(41, 135, 171)
HSLhsl(197, 61%, 42%)
HSVhsv(197, 76%, 67%)
CMYKcmyk(76%, 21.1%, 0%, 32.9%)
CIE-LABlab(52.66, -14.65, -26.78)
CIE-LCHlch(52.66, 30.52, 241.32°)
OKLaboklab(58.57% -0.0669 -0.0752)
OKLCHoklch(58.57% 0.101 228.3)
XYZxyz(16.9261, 20.7376, 41.6309)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987AB #AB4D29
analogous
#29AB8E #2987AB #2946AB
triadic
#2987AB #AB2987 #87AB29
tetradic
#2987AB #8E29AB #AB4D29 #46AB29
square
#2987AB #8E29AB #AB4D29 #46AB29
split-complementary
#2987AB #AB2946 #AB8E29
monochromatic
#113948 #1D607A #2987AB #40A9D1 #71BFDD

Accessibility & contrast

On white

4.08
#2987AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2987AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987AB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

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

Design tokens & code

CSS
--color: #2987ab;
/* rgb */ color: rgb(41, 135, 171);
/* oklch */ color: oklch(58.6% 0.101 228.3);
Tailwind
colors: {
  custom: {
    50: '#76aac4',
    500: '#2987ab',
    950: '#000000',
  },
}
SCSS
$custom: #2987ab;
$custom-light: #76aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2987ab",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 196.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58568,
    "c": 0.10067,
    "h": 228.3
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#2987AB
secondary
#C4846C
accent
#7043E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2987AB

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

Preview Lab → · Contrast checker → · Palette generator →

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