#2C6987#2C6987

#2C6987 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.4% C 0.079 H 232.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2C6987
RGBrgb(44, 105, 135)
HSLhsl(200, 51%, 35%)
HSVhsv(200, 67%, 53%)
CMYKcmyk(67.4%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.82, -9.62, -22.37)
CIE-LCHlch(41.82, 24.35, 246.73°)
OKLaboklab(49.43% -0.0474 -0.0627)
OKLCHoklch(49.43% 0.079 232.9)
XYZxyz(10.4617, 12.3868, 24.7565)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6987 #874A2C
analogous
#2C8777 #2C6987 #2C3C87
triadic
#2C6987 #872C69 #69872C
tetradic
#2C6987 #772C87 #874A2C #3C872C
square
#2C6987 #772C87 #874A2C #3C872C
split-complementary
#2C6987 #872C3C #87772C
monochromatic
#0E212B #1D4559 #2C6987 #3B8DB5 #62A9CC

Accessibility & contrast

On white

6.04
#2C6987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C6987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6987
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6987#FFFFFF#000000##FFFFFF
##2C69871.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6888
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c6987;
/* rgb */ color: rgb(44, 105, 135);
/* oklch */ color: oklch(49.4% 0.079 232.9);
Tailwind
colors: {
  custom: {
    50: '#7093aa',
    500: '#2c6987',
    950: '#000000',
  },
}
SCSS
$custom: #2c6987;
$custom-light: #7093aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6987",
  "rgb": {
    "r": 44,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 199.78,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.07861,
    "h": 232.9
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#2C6987
secondary
#B2795D
accent
#7C4DDA
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2C6987

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

Preview Lab → · Contrast checker → · Palette generator →

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