#2C7894#2C7894

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

Color values

HEX#2C7894
RGBrgb(44, 120, 148)
HSLhsl(196, 54%, 38%)
HSVhsv(196, 70%, 58%)
CMYKcmyk(70.3%, 18.9%, 0%, 42%)
CIE-LABlab(47.11, -13.77, -21.95)
CIE-LCHlch(47.11, 25.91, 237.89°)
OKLaboklab(53.83% -0.0588 -0.0614)
OKLCHoklch(53.83% 0.085 226.2)
XYZxyz(13.0983, 16.1051, 30.4295)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7894 #94482C
analogous
#2C947C #2C7894 #2C4494
triadic
#2C7894 #942C78 #78942C
tetradic
#2C7894 #7C2C94 #94482C #44942C
square
#2C7894 #7C2C94 #94482C #44942C
split-complementary
#2C7894 #942C44 #947C2C
monochromatic
#102B36 #1E5265 #2C7894 #3A9EC3 #68B6D2

Accessibility & contrast

On white

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

On black

4.22
#2C7894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C7894#FFFFFF#000000##FFFFFF
##2C78941.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7894;
/* rgb */ color: rgb(44, 120, 148);
/* oklch */ color: oklch(53.8% 0.085 226.2);
Tailwind
colors: {
  custom: {
    50: '#739fb3',
    500: '#2c7894',
    950: '#000000',
  },
}
SCSS
$custom: #2c7894;
$custom-light: #739fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7894",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 148
  },
  "hsl": {
    "h": 196.154,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.085,
    "h": 226.2
  },
  "luminance": 0.16107
}

Semantic roles & 50–950 ramp

primary
#2C7894
secondary
#B97A63
accent
#724ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7894

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

Preview Lab → · Contrast checker → · Palette generator →

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