#2C7197#2C7197

#2C7197 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.091 H 236.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2C7197
RGBrgb(44, 113, 151)
HSLhsl(201, 55%, 38%)
HSVhsv(201, 71%, 59%)
CMYKcmyk(70.9%, 25.2%, 0%, 40.8%)
CIE-LABlab(45.05, -8.70, -26.91)
CIE-LCHlch(45.05, 28.28, 252.09°)
OKLaboklab(52.24% -0.0502 -0.0757)
OKLCHoklch(52.24% 0.091 236.5)
XYZxyz(12.5276, 14.5787, 31.4259)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7197 #97522C
analogous
#2C9787 #2C7197 #2C3C97
triadic
#2C7197 #972C71 #71972C
tetradic
#2C7197 #872C97 #97522C #3C972C
square
#2C7197 #872C97 #97522C #3C972C
split-complementary
#2C7197 #972C3C #97872C
monochromatic
#102A38 #1E4E68 #2C7197 #3A94C6 #6AAED4

Accessibility & contrast

On white

5.36
#2C7197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2C7197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7197
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7197#FFFFFF#000000##FFFFFF
##2C71971.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7099
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7197;
/* rgb */ color: rgb(44, 113, 151);
/* oklch */ color: oklch(52.2% 0.091 236.5);
Tailwind
colors: {
  custom: {
    50: '#7399b5',
    500: '#2c7197',
    950: '#000000',
  },
}
SCSS
$custom: #2c7197;
$custom-light: #7399b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7197",
  "rgb": {
    "r": 44,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 201.308,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.09085,
    "h": 236.5
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#2C7197
secondary
#BA8365
accent
#7E4ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7197

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

Preview Lab → · Contrast checker → · Palette generator →

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