#2C87B3#2C87B3

#2C87B3 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.107 H 234.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2C87B3
RGBrgb(44, 135, 179)
HSLhsl(200, 61%, 44%)
HSVhsv(200, 75%, 70%)
CMYKcmyk(75.4%, 24.6%, 0%, 29.8%)
CIE-LABlab(53.08, -11.48, -30.73)
CIE-LCHlch(53.08, 32.80, 249.51°)
OKLaboklab(59.03% -0.0626 -0.0865)
OKLCHoklch(59.03% 0.107 234.1)
XYZxyz(17.8361, 21.1160, 45.7749)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87B3 #B3582C
analogous
#2CB39B #2C87B3 #2C43B3
triadic
#2C87B3 #B32C87 #87B32C
tetradic
#2C87B3 #9B2CB3 #B3582C #43B32C
square
#2C87B3 #9B2CB3 #B3582C #43B32C
split-complementary
#2C87B3 #B32C43 #B39B2C
monochromatic
#143D51 #206282 #2C87B3 #4AA6D2 #7BBEDF

Accessibility & contrast

On white

4.02
#2C87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#2C87B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87B3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87B3#FFFFFF#000000##000000
##2C87B31.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B5
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2c87b3;
/* rgb */ color: rgb(44, 135, 179);
/* oklch */ color: oklch(59.0% 0.107 234.1);
Tailwind
colors: {
  custom: {
    50: '#79aaca',
    500: '#2c87b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c87b3;
$custom-light: #79aaca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87b3",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 199.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.10682,
    "h": 234.1
  },
  "luminance": 0.21118
}

Semantic roles & 50–950 ramp

primary
#2C87B3
secondary
#C78F74
accent
#7844E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2C87B3

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

Preview Lab → · Contrast checker → · Palette generator →

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