#2C7FB6#2C7FB6

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

Color values

HEX#2C7FB6
RGBrgb(44, 127, 182)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(75.8%, 30.2%, 0%, 28.6%)
CIE-LABlab(50.79, -5.81, -36.03)
CIE-LCHlch(50.79, 36.49, 260.84°)
OKLaboklab(57.26% -0.0539 -0.102)
OKLCHoklch(57.26% 0.115 242.2)
XYZxyz(17.0683, 19.0896, 47.0320)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FB6 #B6632C
analogous
#2CB6A8 #2C7FB6 #2C3AB6
triadic
#2C7FB6 #B62C7F #7FB62C
tetradic
#2C7FB6 #A82CB6 #B6632C #3AB62C
square
#2C7FB6 #A82CB6 #B6632C #3AB62C
split-complementary
#2C7FB6 #B62C3A #B6A82C
monochromatic
#143A53 #205D85 #2C7FB6 #4C9DD4 #7DB8E0

Accessibility & contrast

On white

4.36
#2C7FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2C7FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FB6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FB6#FFFFFF#000000##000000
##2C7FB61.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B8
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7fb6;
/* rgb */ color: rgb(44, 127, 182);
/* oklch */ color: oklch(57.3% 0.115 242.2);
Tailwind
colors: {
  custom: {
    50: '#79a3cc',
    500: '#2c7fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fb6;
$custom-light: #79a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fb6",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 182
  },
  "hsl": {
    "h": 203.913,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.11536,
    "h": 242.2
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#2C7FB6
secondary
#C89776
accent
#8444E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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