#2C6797#2C6797

#2C6797 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.098 H 246.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2C6797
RGBrgb(44, 103, 151)
HSLhsl(207, 55%, 38%)
HSVhsv(207, 71%, 59%)
CMYKcmyk(70.9%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.95, -2.69, -31.76)
CIE-LCHlch(41.95, 31.87, 265.16°)
OKLaboklab(49.78% -0.0397 -0.0899)
OKLCHoklch(49.78% 0.098 246.2)
XYZxyz(11.4728, 12.4691, 31.0743)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6797 #975C2C
analogous
#2C9791 #2C6797 #2C3197
triadic
#2C6797 #972C67 #67972C
tetradic
#2C6797 #912C97 #975C2C #31972C
square
#2C6797 #912C97 #975C2C #31972C
split-complementary
#2C6797 #972C31 #97912C
monochromatic
#102638 #1E4768 #2C6797 #3A87C6 #6AA4D4

Accessibility & contrast

On white

6.01
#2C6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2C6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6797
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6797#FFFFFF#000000##FFFFFF
##2C67971.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#435E96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c6797;
/* rgb */ color: rgb(44, 103, 151);
/* oklch */ color: oklch(49.8% 0.098 246.2);
Tailwind
colors: {
  custom: {
    50: '#7292b6',
    500: '#2c6797',
    950: '#000000',
  },
}
SCSS
$custom: #2c6797;
$custom-light: #7292b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6797",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 206.916,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.09826,
    "h": 246.2
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#2C6797
secondary
#BA8B65
accent
#8C4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2C6797

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

Preview Lab → · Contrast checker → · Palette generator →

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