#2C7A98#2C7A98

#2C7A98 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.088 H 227.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C7A98
RGBrgb(44, 122, 152)
HSLhsl(197, 55%, 38%)
HSVhsv(197, 71%, 60%)
CMYKcmyk(71.1%, 19.7%, 0%, 40.4%)
CIE-LABlab(47.91, -13.53, -23.08)
CIE-LCHlch(47.91, 26.75, 239.62°)
OKLaboklab(54.52% -0.0593 -0.0646)
OKLCHoklch(54.52% 0.088 227.4)
XYZxyz(13.6635, 16.7200, 32.2069)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A98 #984A2C
analogous
#2C9880 #2C7A98 #2C4498
triadic
#2C7A98 #982C7A #7A982C
tetradic
#2C7A98 #802C98 #984A2C #44982C
square
#2C7A98 #802C98 #984A2C #44982C
split-complementary
#2C7A98 #982C44 #98802C
monochromatic
#112E39 #1E5469 #2C7A98 #3BA0C6 #6AB7D4

Accessibility & contrast

On white

4.83
#2C7A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C7A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A98
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A98#FFFFFF#000000##FFFFFF
##2C7A981.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A789A
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c7a98;
/* rgb */ color: rgb(44, 122, 152);
/* oklch */ color: oklch(54.5% 0.088 227.4);
Tailwind
colors: {
  custom: {
    50: '#73a0b6',
    500: '#2c7a98',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a98;
$custom-light: #73a0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a98",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 196.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.08775,
    "h": 227.4
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#2C7A98
secondary
#BB7D65
accent
#7349DE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7A98

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

Preview Lab → · Contrast checker → · Palette generator →

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