#2C87A5#2C87A5

#2C87A5 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.4% C 0.095 H 224.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2C87A5
RGBrgb(44, 135, 165)
HSLhsl(195, 58%, 41%)
HSVhsv(195, 73%, 65%)
CMYKcmyk(73.3%, 18.2%, 0%, 35.3%)
CIE-LABlab(52.48, -16.32, -23.59)
CIE-LCHlch(52.48, 28.68, 235.32°)
OKLaboklab(58.37% -0.0678 -0.066)
OKLCHoklch(58.37% 0.095 224.2)
XYZxyz(16.4914, 20.5781, 38.6928)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87A5 #A54A2C
analogous
#2CA586 #2C87A5 #2C4AA5
triadic
#2C87A5 #A52C87 #87A52C
tetradic
#2C87A5 #862CA5 #A54A2C #4AA52C
square
#2C87A5 #862CA5 #A54A2C #4AA52C
split-complementary
#2C87A5 #A52C4A #A5862C
monochromatic
#123844 #1F5F75 #2C87A5 #42AACD #72C0D9

Accessibility & contrast

On white

4.10
#2C87A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2C87A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87A5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87A5#FFFFFF#000000##000000
##2C87A51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A7
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2c87a5;
/* rgb */ color: rgb(44, 135, 165);
/* oklch */ color: oklch(58.4% 0.095 224.2);
Tailwind
colors: {
  custom: {
    50: '#76aabf',
    500: '#2c87a5',
    950: '#000000',
  },
}
SCSS
$custom: #2c87a5;
$custom-light: #76aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87a5",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 194.876,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.09464,
    "h": 224.2
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#2C87A5
secondary
#C1816C
accent
#6D47E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2C87A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2C87A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva