#2C7EB7#2C7EB7

#2C7EB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.117 H 243.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C7EB7
RGBrgb(44, 126, 183)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 72%)
CMYKcmyk(76%, 31.1%, 0%, 28.2%)
CIE-LABlab(50.54, -4.86, -37.00)
CIE-LCHlch(50.54, 37.32, 262.52°)
OKLaboklab(57.08% -0.0526 -0.1048)
OKLCHoklch(57.08% 0.117 243.4)
XYZxyz(17.0435, 18.8741, 47.5354)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EB7 #B7652C
analogous
#2CB7AA #2C7EB7 #2C39B7
triadic
#2C7EB7 #B72C7E #7EB72C
tetradic
#2C7EB7 #AA2CB7 #B7652C #39B72C
square
#2C7EB7 #AA2CB7 #B7652C #39B72C
split-complementary
#2C7EB7 #B72C39 #B7AA2C
monochromatic
#143A54 #205C86 #2C7EB7 #4C9CD4 #7EB8E0

Accessibility & contrast

On white

4.40
#2C7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2C7EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EB7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EB7#FFFFFF#000000##000000
##2C7EB71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB9
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7eb7;
/* rgb */ color: rgb(44, 126, 183);
/* oklch */ color: oklch(57.1% 0.117 243.4);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2c7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eb7;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eb7",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 204.604,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.1173,
    "h": 243.4
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#2C7EB7
secondary
#C89876
accent
#8543E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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