#2987AE#2987AE

#2987AE is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.7% C 0.103 H 230.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2987AE
RGBrgb(41, 135, 174)
HSLhsl(198, 62%, 42%)
HSVhsv(198, 76%, 68%)
CMYKcmyk(76.4%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.79, -13.61, -28.31)
CIE-LCHlch(52.79, 31.41, 244.33°)
OKLaboklab(58.71% -0.0658 -0.0796)
OKLCHoklch(58.71% 0.103 230.4)
XYZxyz(17.2153, 20.8533, 43.1540)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987AE #AE5029
analogous
#29AE93 #2987AE #2945AE
triadic
#2987AE #AE2987 #87AE29
tetradic
#2987AE #9329AE #AE5029 #45AE29
square
#2987AE #9329AE #AE5029 #45AE29
split-complementary
#2987AE #AE2945 #AE9329
monochromatic
#123A4B #1D617C #2987AE #42A8D2 #73BFDE

Accessibility & contrast

On white

4.06
#2987AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2987AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987AE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2987AE#FFFFFF#000000##000000
##2987AE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2987ae;
/* rgb */ color: rgb(41, 135, 174);
/* oklch */ color: oklch(58.7% 0.103 230.4);
Tailwind
colors: {
  custom: {
    50: '#77aac6',
    500: '#2987ae',
    950: '#000000',
  },
}
SCSS
$custom: #2987ae;
$custom-light: #77aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2987ae",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 197.594,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.10328,
    "h": 230.4
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#2987AE
secondary
#C5876D
accent
#7243E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2987AE

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

Preview Lab → · Contrast checker → · Palette generator →

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