#2C87AD#2C87AD

#2C87AD is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.7% C 0.101 H 230.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C87AD
RGBrgb(44, 135, 173)
HSLhsl(198, 59%, 43%)
HSVhsv(198, 75%, 68%)
CMYKcmyk(74.6%, 22%, 0%, 32.2%)
CIE-LABlab(52.82, -13.58, -27.68)
CIE-LCHlch(52.82, 30.83, 243.88°)
OKLaboklab(58.74% -0.0648 -0.0778)
OKLCHoklch(58.74% 0.101 230.2)
XYZxyz(17.2425, 20.8785, 42.6483)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87AD #AD522C
analogous
#2CAD92 #2C87AD #2C47AD
triadic
#2C87AD #AD2C87 #87AD2C
tetradic
#2C87AD #922CAD #AD522C #47AD2C
square
#2C87AD #922CAD #AD522C #47AD2C
split-complementary
#2C87AD #AD2C47 #AD922C
monochromatic
#133B4B #20617C #2C87AD #46A7D0 #77BFDC

Accessibility & contrast

On white

4.06
#2C87AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2C87AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87AD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87AD#FFFFFF#000000##000000
##2C87AD1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AF
Deuteranopia (green-blind)
#6279AC
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c87ad;
/* rgb */ color: rgb(44, 135, 173);
/* oklch */ color: oklch(58.7% 0.101 230.2);
Tailwind
colors: {
  custom: {
    50: '#78aac5',
    500: '#2c87ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c87ad;
$custom-light: #78aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87ad",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 197.674,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.10122,
    "h": 230.2
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#2C87AD
secondary
#C48971
accent
#7445E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87AD

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

Preview Lab → · Contrast checker → · Palette generator →

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