#2C7EA8#2C7EA8

#2C7EA8 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.101 H 235.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2C7EA8
RGBrgb(44, 126, 168)
HSLhsl(200, 58%, 42%)
HSVhsv(200, 74%, 66%)
CMYKcmyk(73.8%, 25%, 0%, 34.1%)
CIE-LABlab(49.84, -10.23, -29.42)
CIE-LCHlch(49.84, 31.15, 250.83°)
OKLaboklab(56.29% -0.0576 -0.0829)
OKLCHoklch(56.29% 0.101 235.2)
XYZxyz(15.5646, 18.2825, 39.7468)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EA8 #A8562C
analogous
#2CA894 #2C7EA8 #2C40A8
triadic
#2C7EA8 #A82C7E #7EA82C
tetradic
#2C7EA8 #942CA8 #A8562C #40A82C
square
#2C7EA8 #942CA8 #A8562C #40A82C
split-complementary
#2C7EA8 #A82C40 #A8942C
monochromatic
#133547 #1F5A78 #2C7EA8 #439FCE #74B8DB

Accessibility & contrast

On white

4.51
#2C7EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2C7EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EA8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EA8#FFFFFF#000000##000000
##2C7EA81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DAA
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7ea8;
/* rgb */ color: rgb(44, 126, 168);
/* oklch */ color: oklch(56.3% 0.101 235.2);
Tailwind
colors: {
  custom: {
    50: '#76a3c2',
    500: '#2c7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ea8;
$custom-light: #76a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ea8",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 200.323,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.1009,
    "h": 235.2
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#2C7EA8
secondary
#C28A6E
accent
#7B46E2
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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