#2C7DB4#2C7DB4

#2C7DB4 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.115 H 242.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2C7DB4
RGBrgb(44, 125, 180)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(75.6%, 30.6%, 0%, 29.4%)
CIE-LABlab(50.09, -5.35, -35.97)
CIE-LCHlch(50.09, 36.37, 261.53°)
OKLaboklab(56.68% -0.0526 -0.1019)
OKLCHoklch(56.68% 0.115 242.7)
XYZxyz(16.6073, 18.4961, 45.8660)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DB4 #B4632C
analogous
#2CB4A7 #2C7DB4 #2C39B4
triadic
#2C7DB4 #B42C7D #7DB42C
tetradic
#2C7DB4 #A72CB4 #B4632C #39B42C
square
#2C7DB4 #A72CB4 #B4632C #39B42C
split-complementary
#2C7DB4 #B42C39 #B4A72C
monochromatic
#143952 #205B83 #2C7DB4 #4A9CD3 #7CB7DF

Accessibility & contrast

On white

4.47
#2C7DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2C7DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DB4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DB4#FFFFFF#000000##000000
##2C7DB41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#5171B3
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7db4;
/* rgb */ color: rgb(44, 125, 180);
/* oklch */ color: oklch(56.7% 0.115 242.7);
Tailwind
colors: {
  custom: {
    50: '#78a2ca',
    500: '#2c7db4',
    950: '#000000',
  },
}
SCSS
$custom: #2c7db4;
$custom-light: #78a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7db4",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 204.265,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.11463,
    "h": 242.7
  },
  "luminance": 0.18498
}

Semantic roles & 50–950 ramp

primary
#2C7DB4
secondary
#C79675
accent
#8544E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2C7DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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