#2987AD#2987AD

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

Color values

HEX#2987AD
RGBrgb(41, 135, 173)
HSLhsl(197, 62%, 42%)
HSVhsv(197, 76%, 68%)
CMYKcmyk(76.3%, 22%, 0%, 32.2%)
CIE-LABlab(52.75, -13.95, -27.80)
CIE-LCHlch(52.75, 31.11, 243.35°)
OKLaboklab(58.66% -0.0662 -0.0781)
OKLCHoklch(58.66% 0.102 229.7)
XYZxyz(17.1182, 20.8145, 42.6425)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987AD #AD4F29
analogous
#29AD91 #2987AD #2945AD
triadic
#2987AD #AD2987 #87AD29
tetradic
#2987AD #9129AD #AD4F29 #45AD29
square
#2987AD #9129AD #AD4F29 #45AD29
split-complementary
#2987AD #AD2945 #AD9129
monochromatic
#123A4A #1D607C #2987AD #41A8D2 #73BFDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2987AD#FFFFFF#000000##000000
##2987AD1.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)
#7385AF
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2987ad;
/* rgb */ color: rgb(41, 135, 173);
/* oklch */ color: oklch(58.7% 0.102 229.7);
Tailwind
colors: {
  custom: {
    50: '#77aac5',
    500: '#2987ad',
    950: '#000000',
  },
}
SCSS
$custom: #2987ad;
$custom-light: #77aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2987ad",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 197.273,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.10239,
    "h": 229.7
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2987AD

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

Preview Lab → · Contrast checker → · Palette generator →

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