#2987A4#2987A4

#2987A4 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.2% C 0.095 H 223.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2987A4
RGBrgb(41, 135, 164)
HSLhsl(194, 60%, 40%)
HSVhsv(194, 75%, 64%)
CMYKcmyk(75%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.37, -17.05, -23.18)
CIE-LCHlch(52.37, 28.78, 233.66°)
OKLaboklab(58.24% -0.0696 -0.0649)
OKLCHoklch(58.24% 0.095 223)
XYZxyz(16.2765, 20.4778, 38.2095)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987A4 #A44629
analogous
#29A483 #2987A4 #294AA4
triadic
#2987A4 #A42987 #87A429
tetradic
#2987A4 #8329A4 #A44629 #4AA429
square
#2987A4 #8329A4 #A44629 #4AA429
split-complementary
#2987A4 #A4294A #A48329
monochromatic
#113642 #1D5F73 #2987A4 #3CACCE #6DC1DA

Accessibility & contrast

On white

4.12
#2987A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2987A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987A4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2987A4#FFFFFF#000000##000000
##2987A41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A6
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2987a4;
/* rgb */ color: rgb(41, 135, 164);
/* oklch */ color: oklch(58.2% 0.095 223.0);
Tailwind
colors: {
  custom: {
    50: '#75aabf',
    500: '#2987a4',
    950: '#000000',
  },
}
SCSS
$custom: #2987a4;
$custom-light: #75aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2987a4",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 194.146,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.09517,
    "h": 223
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#2987A4
secondary
#C17D68
accent
#6A45E3
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2987A4

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

Preview Lab → · Contrast checker → · Palette generator →

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