#2C87B5#2C87B5

#2C87B5 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.109 H 235.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2C87B5
RGBrgb(44, 135, 181)
HSLhsl(200, 61%, 44%)
HSVhsv(200, 76%, 71%)
CMYKcmyk(75.7%, 25.4%, 0%, 29%)
CIE-LABlab(53.16, -10.78, -31.74)
CIE-LCHlch(53.16, 33.52, 251.24°)
OKLaboklab(59.13% -0.0619 -0.0895)
OKLCHoklch(59.13% 0.109 235.3)
XYZxyz(18.0398, 21.1975, 46.8479)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C87B5 #B55A2C
analogous
#2CB59F #2C87B5 #2C43B5
triadic
#2C87B5 #B52C87 #87B52C
tetradic
#2C87B5 #9F2CB5 #B55A2C #43B52C
square
#2C87B5 #9F2CB5 #B55A2C #43B52C
split-complementary
#2C87B5 #B52C43 #B59F2C
monochromatic
#143E53 #206284 #2C87B5 #4BA5D3 #7CBEDF

Accessibility & contrast

On white

4.01
#2C87B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2C87B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C87B5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C87B5#FFFFFF#000000##000000
##2C87B51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B7
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2c87b5;
/* rgb */ color: rgb(44, 135, 181);
/* oklch */ color: oklch(59.1% 0.109 235.3);
Tailwind
colors: {
  custom: {
    50: '#79a9cb',
    500: '#2c87b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c87b5;
$custom-light: #79a9cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c87b5",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 181
  },
  "hsl": {
    "h": 200.146,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.1088,
    "h": 235.3
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C87B5

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

Preview Lab → · Contrast checker → · Palette generator →

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