#2C7EAF#2C7EAF

#2C7EAF is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.108 H 239.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2C7EAF
RGBrgb(44, 126, 175)
HSLhsl(202, 60%, 43%)
HSVhsv(202, 75%, 69%)
CMYKcmyk(74.9%, 28%, 0%, 31.4%)
CIE-LABlab(50.16, -7.74, -32.98)
CIE-LCHlch(50.16, 33.88, 256.79°)
OKLaboklab(56.65% -0.0552 -0.0932)
OKLCHoklch(56.65% 0.108 239.4)
XYZxyz(16.2344, 18.5504, 43.2741)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EAF #AF5D2C
analogous
#2CAF9E #2C7EAF #2C3CAF
triadic
#2C7EAF #AF2C7E #7EAF2C
tetradic
#2C7EAF #9E2CAF #AF5D2C #3CAF2C
square
#2C7EAF #9E2CAF #AF5D2C #3CAF2C
split-complementary
#2C7EAF #AF2C3C #AF9E2C
monochromatic
#13384D #205B7E #2C7EAF #479DD1 #78B7DD

Accessibility & contrast

On white

4.46
#2C7EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2C7EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EAF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EAF#FFFFFF#000000##000000
##2C7EAF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB1
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7eaf;
/* rgb */ color: rgb(44, 126, 175);
/* oklch */ color: oklch(56.7% 0.108 239.4);
Tailwind
colors: {
  custom: {
    50: '#77a3c7',
    500: '#2c7eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eaf;
$custom-light: #77a3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eaf",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 175
  },
  "hsl": {
    "h": 202.443,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.10827,
    "h": 239.4
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#2C7EAF
secondary
#C59172
accent
#8045E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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