#2C6F97#2C6F97

#2C6F97 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.092 H 238.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2C6F97
RGBrgb(44, 111, 151)
HSLhsl(202, 55%, 38%)
HSVhsv(202, 71%, 59%)
CMYKcmyk(70.9%, 26.5%, 0%, 40.8%)
CIE-LABlab(44.43, -7.52, -27.88)
CIE-LCHlch(44.43, 28.88, 254.91°)
OKLaboklab(51.74% -0.0481 -0.0785)
OKLCHoklch(51.74% 0.092 238.5)
XYZxyz(12.3069, 14.1374, 31.3523)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6F97 #97542C
analogous
#2C9789 #2C6F97 #2C3997
triadic
#2C6F97 #972C6F #6F972C
tetradic
#2C6F97 #892C97 #97542C #39972C
square
#2C6F97 #892C97 #97542C #39972C
split-complementary
#2C6F97 #972C39 #97892C
monochromatic
#102938 #1E4C68 #2C6F97 #3A92C6 #6AACD4

Accessibility & contrast

On white

5.49
#2C6F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2C6F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6F97
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6F97#FFFFFF#000000##FFFFFF
##2C6F971.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F99
Deuteranopia (green-blind)
#4E6496
Tritanopia (blue-blind)
#00797D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c6f97;
/* rgb */ color: rgb(44, 111, 151);
/* oklch */ color: oklch(51.7% 0.092 238.5);
Tailwind
colors: {
  custom: {
    50: '#7398b5',
    500: '#2c6f97',
    950: '#000000',
  },
}
SCSS
$custom: #2c6f97;
$custom-light: #7398b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6f97",
  "rgb": {
    "r": 44,
    "g": 111,
    "b": 151
  },
  "hsl": {
    "h": 202.43,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51741,
    "c": 0.09209,
    "h": 238.5
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#2C6F97
secondary
#BA8565
accent
#814ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2C6F97

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

Preview Lab → · Contrast checker → · Palette generator →

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