#2987A2#2987A2

#2987A2 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.094 H 221.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2987A2
RGBrgb(41, 135, 162)
HSLhsl(193, 60%, 40%)
HSVhsv(193, 75%, 64%)
CMYKcmyk(74.7%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.29, -17.73, -22.15)
CIE-LCHlch(52.29, 28.37, 231.32°)
OKLaboklab(58.15% -0.0704 -0.0619)
OKLCHoklch(58.15% 0.094 221.3)
XYZxyz(16.0973, 20.4061, 37.2658)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2987A2 #A24429
analogous
#29A280 #2987A2 #294BA2
triadic
#2987A2 #A22987 #87A229
tetradic
#2987A2 #8029A2 #A24429 #4BA229
square
#2987A2 #8029A2 #A24429 #4BA229
split-complementary
#2987A2 #A2294B #A28029
monochromatic
#103640 #1D5E71 #2987A2 #3BADCD #6CC1DA

Accessibility & contrast

On white

4.13
#2987A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2987A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2987A2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2987A2#FFFFFF#000000##000000
##2987A21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A3
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2987a2;
/* rgb */ color: rgb(41, 135, 162);
/* oklch */ color: oklch(58.2% 0.094 221.3);
Tailwind
colors: {
  custom: {
    50: '#75aabd',
    500: '#2987a2',
    950: '#000000',
  },
}
SCSS
$custom: #2987a2;
$custom-light: #75aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2987a2",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 193.388,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.09378,
    "h": 221.3
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#2987A2
secondary
#C07B67
accent
#6845E3
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2987A2

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

Preview Lab → · Contrast checker → · Palette generator →

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