#2C87B6#2C87B6

#2C87B6 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.2% C 0.110 H 235.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2C87B6
RGBrgb(44, 135, 182)
HSLhsl(200, 61%, 44%)
HSVhsv(200, 76%, 71%)
CMYKcmyk(75.8%, 25.8%, 0%, 28.6%)
CIE-LABlab(53.21, -10.43, -32.24)
CIE-LCHlch(53.21, 33.89, 252.08°)
OKLaboklab(59.18% -0.0616 -0.0909)
OKLCHoklch(59.18% 0.11 235.9)
XYZxyz(18.1428, 21.2387, 47.3902)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87B6 #B65B2C
analogous
#2CB6A0 #2C87B6 #2C42B6
triadic
#2C87B6 #B62C87 #87B62C
tetradic
#2C87B6 #A02CB6 #B65B2C #42B62C
square
#2C87B6 #A02CB6 #B65B2C #42B62C
split-complementary
#2C87B6 #B62C42 #B6A02C
monochromatic
#143E53 #206285 #2C87B6 #4CA5D4 #7DBEE0

Accessibility & contrast

On white

4.00
#2C87B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2C87B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87B6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87B6#FFFFFF#000000##000000
##2C87B61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B8
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2c87b6;
/* rgb */ color: rgb(44, 135, 182);
/* oklch */ color: oklch(59.2% 0.110 235.9);
Tailwind
colors: {
  custom: {
    50: '#79a9cc',
    500: '#2c87b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c87b6;
$custom-light: #79a9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87b6",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 182
  },
  "hsl": {
    "h": 200.435,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.10981,
    "h": 235.9
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#2C87B6
secondary
#C89276
accent
#7A44E4
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87B6

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

Preview Lab → · Contrast checker → · Palette generator →

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