#2C87B7#2C87B7

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

Color values

HEX#2C87B7
RGBrgb(44, 135, 183)
HSLhsl(201, 61%, 45%)
HSVhsv(201, 76%, 72%)
CMYKcmyk(76%, 26.2%, 0%, 28.2%)
CIE-LABlab(53.25, -10.08, -32.74)
CIE-LCHlch(53.25, 34.26, 252.90°)
OKLaboklab(59.23% -0.0612 -0.0924)
OKLCHoklch(59.23% 0.111 236.5)
XYZxyz(18.2465, 21.2802, 47.9364)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87B7 #B75C2C
analogous
#2CB7A1 #2C87B7 #2C42B7
triadic
#2C87B7 #B72C87 #87B72C
tetradic
#2C87B7 #A12CB7 #B75C2C #42B72C
square
#2C87B7 #A12CB7 #B75C2C #42B72C
split-complementary
#2C87B7 #B72C42 #B7A12C
monochromatic
#143E54 #206386 #2C87B7 #4CA5D4 #7EBEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C87B7#FFFFFF#000000##000000
##2C87B71.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087B9
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2c87b7;
/* rgb */ color: rgb(44, 135, 183);
/* oklch */ color: oklch(59.2% 0.111 236.5);
Tailwind
colors: {
  custom: {
    50: '#79a9cd',
    500: '#2c87b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c87b7;
$custom-light: #79a9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87b7",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 183
  },
  "hsl": {
    "h": 200.719,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.11083,
    "h": 236.5
  },
  "luminance": 0.21282
}

Semantic roles & 50–950 ramp

primary
#2C87B7
secondary
#C89376
accent
#7B43E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87B7

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

Preview Lab → · Contrast checker → · Palette generator →

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