#2C7EB9#2C7EB9

#2C7EB9 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.120 H 244.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C7EB9
RGBrgb(44, 126, 185)
HSLhsl(205, 62%, 45%)
HSVhsv(205, 76%, 73%)
CMYKcmyk(76.2%, 31.9%, 0%, 27.5%)
CIE-LABlab(50.64, -4.13, -37.99)
CIE-LCHlch(50.64, 38.22, 263.80°)
OKLaboklab(57.19% -0.052 -0.1077)
OKLCHoklch(57.19% 0.12 244.2)
XYZxyz(17.2531, 18.9579, 48.6395)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EB9 #B9672C
analogous
#2CB9AD #2C7EB9 #2C38B9
triadic
#2C7EB9 #B92C7E #7EB92C
tetradic
#2C7EB9 #AD2CB9 #B9672C #38B92C
square
#2C7EB9 #AD2CB9 #B9672C #38B92C
split-complementary
#2C7EB9 #B92C38 #B9AD2C
monochromatic
#143B56 #205C88 #2C7EB9 #4D9CD5 #7FB8E1

Accessibility & contrast

On white

4.38
#2C7EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2C7EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EB9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EB9#FFFFFF#000000##000000
##2C7EB91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BC
Deuteranopia (green-blind)
#4F73B8
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7eb9;
/* rgb */ color: rgb(44, 126, 185);
/* oklch */ color: oklch(57.2% 0.120 244.2);
Tailwind
colors: {
  custom: {
    50: '#79a3ce',
    500: '#2c7eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eb9;
$custom-light: #79a3ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eb9",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 185
  },
  "hsl": {
    "h": 205.106,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.11964,
    "h": 244.2
  },
  "luminance": 0.1896
}

Semantic roles & 50–950 ramp

primary
#2C7EB9
secondary
#C99A78
accent
#8743E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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