#2C7EAA#2C7EAA

#2C7EAA is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.103 H 236.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2C7EAA
RGBrgb(44, 126, 170)
HSLhsl(201, 59%, 42%)
HSVhsv(201, 74%, 67%)
CMYKcmyk(74.1%, 25.9%, 0%, 33.3%)
CIE-LABlab(49.93, -9.52, -30.45)
CIE-LCHlch(49.93, 31.90, 252.63°)
OKLaboklab(56.39% -0.0569 -0.0858)
OKLCHoklch(56.39% 0.103 236.5)
XYZxyz(15.7524, 18.3576, 40.7356)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EAA #AA582C
analogous
#2CAA97 #2C7EAA #2C3FAA
triadic
#2C7EAA #AA2C7E #7EAA2C
tetradic
#2C7EAA #972CAA #AA582C #3FAA2C
square
#2C7EAA #972CAA #AA582C #3FAA2C
split-complementary
#2C7EAA #AA2C3F #AA972C
monochromatic
#133649 #1F5A79 #2C7EAA #449ECF #75B8DB

Accessibility & contrast

On white

4.50
#2C7EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2C7EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EAA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EAA#FFFFFF#000000##000000
##2C7EAA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAC
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7eaa;
/* rgb */ color: rgb(44, 126, 170);
/* oklch */ color: oklch(56.4% 0.103 236.5);
Tailwind
colors: {
  custom: {
    50: '#77a3c3',
    500: '#2c7eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eaa;
$custom-light: #77a3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eaa",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 200.952,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.10295,
    "h": 236.5
  },
  "luminance": 0.18359
}

Semantic roles & 50–950 ramp

primary
#2C7EAA
secondary
#C38C6F
accent
#7C46E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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