#2C7AAF#2C7AAF

#2C7AAF is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.111 H 242.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2C7AAF
RGBrgb(44, 122, 175)
HSLhsl(204, 60%, 43%)
HSVhsv(204, 75%, 69%)
CMYKcmyk(74.9%, 30.3%, 0%, 31.4%)
CIE-LABlab(48.94, -5.39, -34.89)
CIE-LCHlch(48.94, 35.30, 261.21°)
OKLaboklab(55.69% -0.0512 -0.0987)
OKLCHoklch(55.69% 0.111 242.6)
XYZxyz(15.7331, 17.5479, 43.1070)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7AAF #AF612C
analogous
#2CAFA2 #2C7AAF #2C38AF
triadic
#2C7AAF #AF2C7A #7AAF2C
tetradic
#2C7AAF #A22CAF #AF612C #38AF2C
square
#2C7AAF #A22CAF #AF612C #38AF2C
split-complementary
#2C7AAF #AF2C38 #AFA22C
monochromatic
#13364D #20587E #2C7AAF #4799D1 #78B4DD

Accessibility & contrast

On white

4.66
#2C7AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2C7AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7AAF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7AAF#FFFFFF#000000##FFFFFF
##2C7AAF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627BB1
Deuteranopia (green-blind)
#4F6FAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c7aaf;
/* rgb */ color: rgb(44, 122, 175);
/* oklch */ color: oklch(55.7% 0.111 242.6);
Tailwind
colors: {
  custom: {
    50: '#77a0c7',
    500: '#2c7aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c7aaf;
$custom-light: #77a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7aaf",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 204.275,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.11126,
    "h": 242.6
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#2C7AAF
secondary
#C59372
accent
#8545E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C7AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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