#2C7CB8#2C7CB8

#2C7CB8 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.7% C 0.120 H 245.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C7CB8
RGBrgb(44, 124, 184)
HSLhsl(206, 61%, 45%)
HSVhsv(206, 76%, 72%)
CMYKcmyk(76.1%, 32.6%, 0%, 27.8%)
CIE-LABlab(49.99, -3.31, -38.44)
CIE-LCHlch(49.99, 38.58, 265.09°)
OKLaboklab(56.66% -0.0504 -0.1091)
OKLCHoklch(56.66% 0.12 245.2)
XYZxyz(16.8948, 18.4095, 48.0011)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7CB8 #B8682C
analogous
#2CB8AE #2C7CB8 #2C36B8
triadic
#2C7CB8 #B82C7C #7CB82C
tetradic
#2C7CB8 #AE2CB8 #B8682C #36B82C
square
#2C7CB8 #AE2CB8 #B8682C #36B82C
split-complementary
#2C7CB8 #B82C36 #B8AE2C
monochromatic
#143955 #205B87 #2C7CB8 #4D9AD4 #7EB6E0

Accessibility & contrast

On white

4.49
#2C7CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2C7CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7CB8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7CB8#FFFFFF#000000##000000
##2C7CB81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBB
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7cb8;
/* rgb */ color: rgb(44, 124, 184);
/* oklch */ color: oklch(56.7% 0.120 245.2);
Tailwind
colors: {
  custom: {
    50: '#79a1cd',
    500: '#2c7cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7cb8;
$custom-light: #79a1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7cb8",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 184
  },
  "hsl": {
    "h": 205.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.12016,
    "h": 245.2
  },
  "luminance": 0.18411
}

Semantic roles & 50–950 ramp

primary
#2C7CB8
secondary
#C99A77
accent
#8843E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C7CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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