#2C6787#2C6787

#2C6787 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.9% C 0.080 H 235.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#2C6787
RGBrgb(44, 103, 135)
HSLhsl(201, 51%, 35%)
HSVhsv(201, 67%, 53%)
CMYKcmyk(67.4%, 23.7%, 0%, 47.1%)
CIE-LABlab(41.19, -8.44, -23.35)
CIE-LCHlch(41.19, 24.83, 250.13°)
OKLaboklab(48.93% -0.0452 -0.0655)
OKLCHoklch(48.93% 0.08 235.4)
XYZxyz(10.2604, 11.9842, 24.6894)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6787 #874C2C
analogous
#2C877A #2C6787 #2C3987
triadic
#2C6787 #872C67 #67872C
tetradic
#2C6787 #7A2C87 #874C2C #39872C
square
#2C6787 #7A2C87 #874C2C #39872C
split-complementary
#2C6787 #872C39 #877A2C
monochromatic
#0E212B #1D4459 #2C6787 #3B8AB5 #62A6CC

Accessibility & contrast

On white

6.18
#2C6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2C6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6787
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6787#FFFFFF#000000##FFFFFF
##2C67871.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c6787;
/* rgb */ color: rgb(44, 103, 135);
/* oklch */ color: oklch(48.9% 0.080 235.4);
Tailwind
colors: {
  custom: {
    50: '#7092aa',
    500: '#2c6787',
    950: '#000000',
  },
}
SCSS
$custom: #2c6787;
$custom-light: #7092aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6787",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 201.099,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.0796,
    "h": 235.4
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#2C6787
secondary
#B27B5D
accent
#7F4DDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2C6787

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

Preview Lab → · Contrast checker → · Palette generator →

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