#2C7EB8#2C7EB8

#2C7EB8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.118 H 243.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C7EB8
RGBrgb(44, 126, 184)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 72%)
CMYKcmyk(76.1%, 31.5%, 0%, 27.8%)
CIE-LABlab(50.59, -4.49, -37.50)
CIE-LCHlch(50.59, 37.77, 263.17°)
OKLaboklab(57.14% -0.0523 -0.1063)
OKLCHoklch(57.14% 0.118 243.8)
XYZxyz(17.1479, 18.9159, 48.0855)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EB8 #B8662C
analogous
#2CB8AC #2C7EB8 #2C38B8
triadic
#2C7EB8 #B82C7E #7EB82C
tetradic
#2C7EB8 #AC2CB8 #B8662C #38B82C
square
#2C7EB8 #AC2CB8 #B8662C #38B82C
split-complementary
#2C7EB8 #B82C38 #B8AC2C
monochromatic
#143A55 #205C87 #2C7EB8 #4D9CD4 #7EB8E0

Accessibility & contrast

On white

4.39
#2C7EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2C7EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EB8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EB8#FFFFFF#000000##000000
##2C7EB81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7eb8;
/* rgb */ color: rgb(44, 126, 184);
/* oklch */ color: oklch(57.1% 0.118 243.8);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2c7eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eb8;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eb8",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 204.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.11846,
    "h": 243.8
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#2C7EB8
secondary
#C99977
accent
#8643E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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