#2C87BB#2C87BB

#2C87BB is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.4% C 0.115 H 238.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2C87BB
RGBrgb(44, 135, 187)
HSLhsl(202, 62%, 45%)
HSVhsv(202, 76%, 73%)
CMYKcmyk(76.5%, 27.8%, 0%, 26.7%)
CIE-LABlab(53.44, -8.65, -34.74)
CIE-LCHlch(53.44, 35.81, 256.01°)
OKLaboklab(59.44% -0.0599 -0.0982)
OKLCHoklch(59.44% 0.115 238.6)
XYZxyz(18.6688, 21.4491, 50.1602)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87BB #BB602C
analogous
#2CBBA7 #2C87BB #2C40BB
triadic
#2C87BB #BB2C87 #87BB2C
tetradic
#2C87BB #A72CBB #BB602C #40BB2C
square
#2C87BB #A72CBB #BB602C #40BB2C
split-complementary
#2C87BB #BB2C40 #BBA72C
monochromatic
#153F58 #206389 #2C87BB #4FA4D6 #80BEE1

Accessibility & contrast

On white

3.97
#2C87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#2C87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87BB#FFFFFF#000000##000000
##2C87BB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BD
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2c87bb;
/* rgb */ color: rgb(44, 135, 187);
/* oklch */ color: oklch(59.4% 0.115 238.6);
Tailwind
colors: {
  custom: {
    50: '#7aa9cf',
    500: '#2c87bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c87bb;
$custom-light: #7aa9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87bb",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 201.818,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.11501,
    "h": 238.6
  },
  "luminance": 0.21451
}

Semantic roles & 50–950 ramp

primary
#2C87BB
secondary
#CA9679
accent
#7E43E5
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2C87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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