#2C7795#2C7795

#2C7795 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.086 H 228.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2C7795
RGBrgb(44, 119, 149)
HSLhsl(197, 54%, 38%)
HSVhsv(197, 70%, 58%)
CMYKcmyk(70.5%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.84, -12.86, -22.96)
CIE-LCHlch(46.84, 26.31, 240.74°)
OKLaboklab(53.63% -0.0573 -0.0643)
OKLCHoklch(53.63% 0.086 228.3)
XYZxyz(13.0582, 15.8976, 30.8083)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7795 #954A2C
analogous
#2C957E #2C7795 #2C4295
triadic
#2C7795 #952C77 #77952C
tetradic
#2C7795 #7E2C95 #954A2C #42952C
square
#2C7795 #7E2C95 #954A2C #42952C
split-complementary
#2C7795 #952C42 #957E2C
monochromatic
#102C37 #1E5166 #2C7795 #3A9DC4 #69B4D3

Accessibility & contrast

On white

5.02
#2C7795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2C7795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7795
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7795#FFFFFF#000000##FFFFFF
##2C77951.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677596
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7795;
/* rgb */ color: rgb(44, 119, 149);
/* oklch */ color: oklch(53.6% 0.086 228.3);
Tailwind
colors: {
  custom: {
    50: '#739eb4',
    500: '#2c7795',
    950: '#000000',
  },
}
SCSS
$custom: #2c7795;
$custom-light: #739eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7795",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 197.143,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.08614,
    "h": 228.3
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#2C7795
secondary
#B97C64
accent
#744ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7795

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

Preview Lab → · Contrast checker → · Palette generator →

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