#2C7CAF#2C7CAF

#2C7CAF is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.110 H 241.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C7CAF
RGBrgb(44, 124, 175)
HSLhsl(203, 60%, 43%)
HSVhsv(203, 75%, 69%)
CMYKcmyk(74.9%, 29.1%, 0%, 31.4%)
CIE-LABlab(49.55, -6.57, -33.93)
CIE-LCHlch(49.55, 34.56, 259.04°)
OKLaboklab(56.17% -0.0532 -0.096)
OKLCHoklch(56.17% 0.11 241)
XYZxyz(15.9812, 18.0441, 43.1897)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7CAF #AF5F2C
analogous
#2CAFA0 #2C7CAF #2C3AAF
triadic
#2C7CAF #AF2C7C #7CAF2C
tetradic
#2C7CAF #A02CAF #AF5F2C #3AAF2C
square
#2C7CAF #A02CAF #AF5F2C #3AAF2C
split-complementary
#2C7CAF #AF2C3A #AFA02C
monochromatic
#13374D #20597E #2C7CAF #479BD1 #78B6DD

Accessibility & contrast

On white

4.56
#2C7CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2C7CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7CAF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7CAF#FFFFFF#000000##000000
##2C7CAF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB1
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7caf;
/* rgb */ color: rgb(44, 124, 175);
/* oklch */ color: oklch(56.2% 0.110 241.0);
Tailwind
colors: {
  custom: {
    50: '#77a1c7',
    500: '#2c7caf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7caf;
$custom-light: #77a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7caf",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 175
  },
  "hsl": {
    "h": 203.359,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.10972,
    "h": 241
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#2C7CAF
secondary
#C59272
accent
#8245E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2C7CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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