#2C7DB8#2C7DB8

#2C7DB8 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.119 H 244.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2C7DB8
RGBrgb(44, 125, 184)
HSLhsl(205, 61%, 45%)
HSVhsv(205, 76%, 72%)
CMYKcmyk(76.1%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.29, -3.90, -37.97)
CIE-LCHlch(50.29, 38.17, 264.14°)
OKLaboklab(56.9% -0.0513 -0.1077)
OKLCHoklch(56.9% 0.119 244.5)
XYZxyz(17.0207, 18.6614, 48.0431)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DB8 #B8672C
analogous
#2CB8AD #2C7DB8 #2C37B8
triadic
#2C7DB8 #B82C7D #7DB82C
tetradic
#2C7DB8 #AD2CB8 #B8672C #37B82C
square
#2C7DB8 #AD2CB8 #B8672C #37B82C
split-complementary
#2C7DB8 #B82C37 #B8AD2C
monochromatic
#143A55 #205B87 #2C7DB8 #4D9BD4 #7EB7E0

Accessibility & contrast

On white

4.44
#2C7DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2C7DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DB8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DB8#FFFFFF#000000##000000
##2C7DB81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7db8;
/* rgb */ color: rgb(44, 125, 184);
/* oklch */ color: oklch(56.9% 0.119 244.5);
Tailwind
colors: {
  custom: {
    50: '#79a2cd',
    500: '#2c7db8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7db8;
$custom-light: #79a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7db8",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 205.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.11931,
    "h": 244.5
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#2C7DB8
secondary
#C99977
accent
#8743E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2C7DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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