#2C7EB6#2C7EB6

#2C7EB6 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.116 H 242.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C7EB6
RGBrgb(44, 126, 182)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(75.8%, 30.8%, 0%, 28.6%)
CIE-LABlab(50.49, -5.22, -36.50)
CIE-LCHlch(50.49, 36.87, 261.86°)
OKLaboklab(57.03% -0.0529 -0.1034)
OKLCHoklch(57.03% 0.116 242.9)
XYZxyz(16.9398, 18.8326, 46.9892)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EB6 #B6642C
analogous
#2CB6A9 #2C7EB6 #2C39B6
triadic
#2C7EB6 #B62C7E #7EB62C
tetradic
#2C7EB6 #A92CB6 #B6642C #39B62C
square
#2C7EB6 #A92CB6 #B6642C #39B62C
split-complementary
#2C7EB6 #B62C39 #B6A92C
monochromatic
#143A53 #205C85 #2C7EB6 #4C9CD4 #7DB7E0

Accessibility & contrast

On white

4.41
#2C7EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2C7EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EB6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EB6#FFFFFF#000000##000000
##2C7EB61.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB8
Deuteranopia (green-blind)
#5172B5
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7eb6;
/* rgb */ color: rgb(44, 126, 182);
/* oklch */ color: oklch(57.0% 0.116 242.9);
Tailwind
colors: {
  custom: {
    50: '#79a3cc',
    500: '#2c7eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eb6;
$custom-light: #79a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eb6",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 182
  },
  "hsl": {
    "h": 204.348,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.11615,
    "h": 242.9
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#2C7EB6
secondary
#C89776
accent
#8544E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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