#2C7DC7#2C7DC7

#2C7DC7 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.8% C 0.138 H 250.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C7DC7
RGBrgb(44, 125, 199)
HSLhsl(209, 64%, 48%)
HSVhsv(209, 78%, 78%)
CMYKcmyk(77.9%, 37.2%, 0%, 22%)
CIE-LABlab(51.06, 1.62, -45.34)
CIE-LCHlch(51.06, 45.37, 272.04°)
OKLaboklab(57.76% -0.0472 -0.1292)
OKLCHoklch(57.76% 0.138 250)
XYZxyz(18.6772, 19.3240, 56.7673)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DC7 #C7762C
analogous
#2CC7C3 #2C7DC7 #2C30C7
triadic
#2C7DC7 #C72C7D #7DC72C
tetradic
#2C7DC7 #C32CC7 #C7762C #30C72C
square
#2C7DC7 #C32CC7 #C7762C #30C72C
split-complementary
#2C7DC7 #C72C30 #C7C32C
monochromatic
#163E63 #215E95 #2C7DC7 #569BDA #89B9E5

Accessibility & contrast

On white

4.32
#2C7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2C7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DC7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DC7#FFFFFF#000000##000000
##2C7DC71.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c7dc7;
/* rgb */ color: rgb(44, 125, 199);
/* oklch */ color: oklch(57.8% 0.138 250.0);
Tailwind
colors: {
  custom: {
    50: '#7ca2d8',
    500: '#2c7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7dc7;
$custom-light: #7ca2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7dc7",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 208.645,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57762,
    "c": 0.13758,
    "h": 250
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#2C7DC7
secondary
#CFA680
accent
#9041E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2C7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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