#2C87B8#2C87B8

#2C87B8 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.112 H 237.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2C87B8
RGBrgb(44, 135, 184)
HSLhsl(201, 61%, 45%)
HSVhsv(201, 76%, 72%)
CMYKcmyk(76.1%, 26.6%, 0%, 27.8%)
CIE-LABlab(53.30, -9.72, -33.24)
CIE-LCHlch(53.30, 34.64, 253.70°)
OKLaboklab(59.29% -0.0609 -0.0938)
OKLCHoklch(59.29% 0.112 237)
XYZxyz(18.3510, 21.3219, 48.4865)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87B8 #B85D2C
analogous
#2CB8A3 #2C87B8 #2C41B8
triadic
#2C87B8 #B82C87 #87B82C
tetradic
#2C87B8 #A32CB8 #B85D2C #41B82C
square
#2C87B8 #A32CB8 #B85D2C #41B82C
split-complementary
#2C87B8 #B82C41 #B8A32C
monochromatic
#143F55 #206387 #2C87B8 #4DA5D4 #7EBEE0

Accessibility & contrast

On white

3.99
#2C87B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2C87B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87B8
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87B8#FFFFFF#000000##000000
##2C87B81.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BA
Deuteranopia (green-blind)
#5D79B7
Tritanopia (blue-blind)
#009498
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2c87b8;
/* rgb */ color: rgb(44, 135, 184);
/* oklch */ color: oklch(59.3% 0.112 237.0);
Tailwind
colors: {
  custom: {
    50: '#79a9cd',
    500: '#2c87b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c87b8;
$custom-light: #79a9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87b8",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 184
  },
  "hsl": {
    "h": 201,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.11186,
    "h": 237
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#2C87B8
secondary
#C99477
accent
#7C43E5
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87B8

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

Preview Lab → · Contrast checker → · Palette generator →

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