#2C7DC4#2C7DC4

#2C7DC4 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.6% C 0.134 H 249.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2C7DC4
RGBrgb(44, 125, 196)
HSLhsl(208, 63%, 47%)
HSVhsv(208, 78%, 77%)
CMYKcmyk(77.6%, 36.2%, 0%, 23.1%)
CIE-LABlab(50.90, 0.51, -43.88)
CIE-LCHlch(50.90, 43.88, 270.66°)
OKLaboklab(57.58% -0.0479 -0.125)
OKLCHoklch(57.58% 0.134 249)
XYZxyz(18.3323, 19.1860, 54.9509)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DC4 #C4732C
analogous
#2CC4BF #2C7DC4 #2C31C4
triadic
#2C7DC4 #C42C7D #7DC42C
tetradic
#2C7DC4 #BF2CC4 #C4732C #31C42C
square
#2C7DC4 #BF2CC4 #C4732C #31C42C
split-complementary
#2C7DC4 #C42C31 #C4BF2C
monochromatic
#163D60 #215D92 #2C7DC4 #549BD9 #86B8E4

Accessibility & contrast

On white

4.34
#2C7DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2C7DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DC4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DC4#FFFFFF#000000##000000
##2C7DC41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C7
Deuteranopia (green-blind)
#4573C3
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7dc4;
/* rgb */ color: rgb(44, 125, 196);
/* oklch */ color: oklch(57.6% 0.134 249.0);
Tailwind
colors: {
  custom: {
    50: '#7ba2d6',
    500: '#2c7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #2c7dc4;
$custom-light: #7ba2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7dc4",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 208.026,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.13385,
    "h": 249
  },
  "luminance": 0.19188
}

Semantic roles & 50–950 ramp

primary
#2C7DC4
secondary
#CDA37E
accent
#8E41E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2C7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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