#2C7EA7#2C7EA7

#2C7EA7 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.100 H 234.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2C7EA7
RGBrgb(44, 126, 167)
HSLhsl(200, 58%, 41%)
HSVhsv(200, 74%, 65%)
CMYKcmyk(73.7%, 24.6%, 0%, 34.5%)
CIE-LABlab(49.79, -10.58, -28.91)
CIE-LCHlch(49.79, 30.79, 249.90°)
OKLaboklab(56.24% -0.0579 -0.0814)
OKLCHoklch(56.24% 0.1 234.6)
XYZxyz(15.4718, 18.2454, 39.2580)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EA7 #A7552C
analogous
#2CA793 #2C7EA7 #2C41A7
triadic
#2C7EA7 #A72C7E #7EA72C
tetradic
#2C7EA7 #932CA7 #A7552C #41A72C
square
#2C7EA7 #932CA7 #A7552C #41A72C
split-complementary
#2C7EA7 #A72C41 #A7932C
monochromatic
#123546 #1F5977 #2C7EA7 #439FCD #73B8DA

Accessibility & contrast

On white

4.52
#2C7EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2C7EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EA7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EA7#FFFFFF#000000##000000
##2C7EA71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7ea7;
/* rgb */ color: rgb(44, 126, 167);
/* oklch */ color: oklch(56.2% 0.100 234.6);
Tailwind
colors: {
  custom: {
    50: '#76a3c1',
    500: '#2c7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ea7;
$custom-light: #76a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ea7",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 200,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56242,
    "c": 0.09989,
    "h": 234.6
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#2C7EA7
secondary
#C2896D
accent
#7A46E2
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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