#2C7895#2C7895

#2C7895 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.086 H 227.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2C7895
RGBrgb(44, 120, 149)
HSLhsl(197, 54%, 38%)
HSVhsv(197, 70%, 58%)
CMYKcmyk(70.5%, 19.5%, 0%, 41.6%)
CIE-LABlab(47.15, -13.43, -22.47)
CIE-LCHlch(47.15, 26.18, 239.14°)
OKLaboklab(53.88% -0.0584 -0.0629)
OKLCHoklch(53.88% 0.086 227.1)
XYZxyz(13.1778, 16.1369, 30.8482)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7895 #95492C
analogous
#2C957D #2C7895 #2C4495
triadic
#2C7895 #952C78 #78952C
tetradic
#2C7895 #7D2C95 #95492C #44952C
square
#2C7895 #7D2C95 #95492C #44952C
split-complementary
#2C7895 #952C44 #957D2C
monochromatic
#102C37 #1E5266 #2C7895 #3A9EC4 #69B5D3

Accessibility & contrast

On white

4.97
#2C7895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2C7895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7895
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7895#FFFFFF#000000##FFFFFF
##2C78951.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697696
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7895;
/* rgb */ color: rgb(44, 120, 149);
/* oklch */ color: oklch(53.9% 0.086 227.1);
Tailwind
colors: {
  custom: {
    50: '#739fb4',
    500: '#2c7895',
    950: '#000000',
  },
}
SCSS
$custom: #2c7895;
$custom-light: #739fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7895",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 149
  },
  "hsl": {
    "h": 196.571,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53881,
    "c": 0.08583,
    "h": 227.1
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#2C7895
secondary
#B97B64
accent
#734ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7895

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

Preview Lab → · Contrast checker → · Palette generator →

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