#2C87B1#2C87B1

#2C87B1 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.105 H 232.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2C87B1
RGBrgb(44, 135, 177)
HSLhsl(199, 60%, 43%)
HSVhsv(199, 75%, 69%)
CMYKcmyk(75.1%, 23.7%, 0%, 30.6%)
CIE-LABlab(52.99, -12.19, -29.72)
CIE-LCHlch(52.99, 32.12, 247.70°)
OKLaboklab(58.93% -0.0633 -0.0836)
OKLCHoklch(58.93% 0.105 232.9)
XYZxyz(17.6353, 21.0357, 44.7173)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87B1 #B1562C
analogous
#2CB198 #2C87B1 #2C45B1
triadic
#2C87B1 #B12C87 #87B12C
tetradic
#2C87B1 #982CB1 #B1562C #45B12C
square
#2C87B1 #982CB1 #B1562C #45B12C
split-complementary
#2C87B1 #B12C45 #B1982C
monochromatic
#143C4F #206280 #2C87B1 #49A6D2 #7ABEDE

Accessibility & contrast

On white

4.03
#2C87B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#2C87B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87B1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87B1#FFFFFF#000000##000000
##2C87B11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B3
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2c87b1;
/* rgb */ color: rgb(44, 135, 177);
/* oklch */ color: oklch(58.9% 0.105 232.9);
Tailwind
colors: {
  custom: {
    50: '#78aac8',
    500: '#2c87b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c87b1;
$custom-light: #78aac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87b1",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 177
  },
  "hsl": {
    "h": 198.947,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.1049,
    "h": 232.9
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#2C87B1
secondary
#C68D73
accent
#7744E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87B1

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

Preview Lab → · Contrast checker → · Palette generator →

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