#2C7FB7#2C7FB7

#2C7FB7 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.117 H 242.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2C7FB7
RGBrgb(44, 127, 183)
HSLhsl(204, 61%, 45%)
HSVhsv(204, 76%, 72%)
CMYKcmyk(76%, 30.6%, 0%, 28.2%)
CIE-LABlab(50.84, -5.44, -36.53)
CIE-LCHlch(50.84, 36.93, 261.52°)
OKLaboklab(57.32% -0.0535 -0.1035)
OKLCHoklch(57.32% 0.117 242.6)
XYZxyz(17.1720, 19.1311, 47.5782)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FB7 #B7642C
analogous
#2CB7AA #2C7FB7 #2C39B7
triadic
#2C7FB7 #B72C7F #7FB72C
tetradic
#2C7FB7 #AA2CB7 #B7642C #39B72C
square
#2C7FB7 #AA2CB7 #B7642C #39B72C
split-complementary
#2C7FB7 #B72C39 #B7AA2C
monochromatic
#143B54 #205D86 #2C7FB7 #4C9DD4 #7EB8E0

Accessibility & contrast

On white

4.35
#2C7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2C7FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FB7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FB7#FFFFFF#000000##000000
##2C7FB71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7fb7;
/* rgb */ color: rgb(44, 127, 183);
/* oklch */ color: oklch(57.3% 0.117 242.6);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2c7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fb7;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fb7",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 204.173,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57319,
    "c": 0.1165,
    "h": 242.6
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#2C7FB7
secondary
#C89776
accent
#8443E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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