#2C87A8#2C87A8

#2C87A8 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.097 H 226.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2C87A8
RGBrgb(44, 135, 168)
HSLhsl(196, 58%, 42%)
HSVhsv(196, 74%, 66%)
CMYKcmyk(73.8%, 19.6%, 0%, 34.1%)
CIE-LABlab(52.61, -15.30, -25.13)
CIE-LCHlch(52.61, 29.42, 238.67°)
OKLaboklab(58.5% -0.0666 -0.0704)
OKLCHoklch(58.5% 0.097 226.6)
XYZxyz(16.7677, 20.6886, 40.1478)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87A8 #A84D2C
analogous
#2CA88B #2C87A8 #2C49A8
triadic
#2C87A8 #A82C87 #87A82C
tetradic
#2C87A8 #8B2CA8 #A84D2C #49A82C
square
#2C87A8 #8B2CA8 #A84D2C #49A82C
split-complementary
#2C87A8 #A82C49 #A88B2C
monochromatic
#133947 #1F6078 #2C87A8 #43A9CE #74BFDB

Accessibility & contrast

On white

4.09
#2C87A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2C87A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87A8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87A8#FFFFFF#000000##000000
##2C87A81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584AA
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c87a8;
/* rgb */ color: rgb(44, 135, 168);
/* oklch */ color: oklch(58.5% 0.097 226.6);
Tailwind
colors: {
  custom: {
    50: '#77aac2',
    500: '#2c87a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c87a8;
$custom-light: #77aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87a8",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 168
  },
  "hsl": {
    "h": 195.968,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.09697,
    "h": 226.6
  },
  "luminance": 0.20691
}

Semantic roles & 50–950 ramp

primary
#2C87A8
secondary
#C2846E
accent
#7046E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2C87A8

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

Preview Lab → · Contrast checker → · Palette generator →

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