#2C87C2#2C87C2

#2C87C2 is a mid, vivid cyan. Relative luminance 0.218; OKLCH L 59.8% C 0.123 H 242.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2C87C2
RGBrgb(44, 135, 194)
HSLhsl(204, 63%, 47%)
HSVhsv(204, 77%, 76%)
CMYKcmyk(77.3%, 30.4%, 0%, 23.9%)
CIE-LABlab(53.77, -6.15, -38.22)
CIE-LCHlch(53.77, 38.71, 260.87°)
OKLaboklab(59.81% -0.0576 -0.1083)
OKLCHoklch(59.81% 0.123 242)
XYZxyz(19.4365, 21.7561, 54.2035)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87C2 #C2672C
analogous
#2CC2B2 #2C87C2 #2C3CC2
triadic
#2C87C2 #C22C87 #87C22C
tetradic
#2C87C2 #B22CC2 #C2672C #3CC22C
square
#2C87C2 #B22CC2 #C2672C #3CC22C
split-complementary
#2C87C2 #C22C3C #C2B22C
monochromatic
#15425E #216490 #2C87C2 #53A4D8 #85BEE3

Accessibility & contrast

On white

3.92
#2C87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2C87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87C2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87C2#FFFFFF#000000##000000
##2C87C21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B88C5
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#00969C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2c87c2;
/* rgb */ color: rgb(44, 135, 194);
/* oklch */ color: oklch(59.8% 0.123 242.0);
Tailwind
colors: {
  custom: {
    50: '#7ba9d4',
    500: '#2c87c2',
    950: '#000000',
  },
}
SCSS
$custom: #2c87c2;
$custom-light: #7ba9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87c2",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 203.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.12267,
    "h": 242
  },
  "luminance": 0.21758
}

Semantic roles & 50–950 ramp

primary
#2C87C2
secondary
#CD9C7D
accent
#8242E6
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2C87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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