#2C7DB7#2C7DB7

#2C7DB7 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.8% C 0.118 H 244.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2C7DB7
RGBrgb(44, 125, 183)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 72%)
CMYKcmyk(76%, 31.7%, 0%, 28.2%)
CIE-LABlab(50.24, -4.26, -37.47)
CIE-LCHlch(50.24, 37.71, 263.51°)
OKLaboklab(56.84% -0.0516 -0.1062)
OKLCHoklch(56.84% 0.118 244.1)
XYZxyz(16.9163, 18.6196, 47.4930)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DB7 #B7662C
analogous
#2CB7AC #2C7DB7 #2C38B7
triadic
#2C7DB7 #B72C7D #7DB72C
tetradic
#2C7DB7 #AC2CB7 #B7662C #38B72C
square
#2C7DB7 #AC2CB7 #B7662C #38B72C
split-complementary
#2C7DB7 #B72C38 #B7AC2C
monochromatic
#143A54 #205B86 #2C7DB7 #4C9BD4 #7EB7E0

Accessibility & contrast

On white

4.45
#2C7DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2C7DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DB7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DB7#FFFFFF#000000##000000
##2C7DB71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBA
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7db7;
/* rgb */ color: rgb(44, 125, 183);
/* oklch */ color: oklch(56.8% 0.118 244.1);
Tailwind
colors: {
  custom: {
    50: '#79a2cd',
    500: '#2c7db7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7db7;
$custom-light: #79a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7db7",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 205.036,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.11813,
    "h": 244.1
  },
  "luminance": 0.18622
}

Semantic roles & 50–950 ramp

primary
#2C7DB7
secondary
#C89976
accent
#8743E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2C7DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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