#2C7EB5#2C7EB5

#2C7EB5 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.115 H 242.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2C7EB5
RGBrgb(44, 126, 181)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(75.7%, 30.4%, 0%, 29%)
CIE-LABlab(50.44, -5.58, -36.00)
CIE-LCHlch(50.44, 36.43, 261.19°)
OKLaboklab(56.97% -0.0532 -0.1019)
OKLCHoklch(56.97% 0.115 242.4)
XYZxyz(16.8368, 18.7914, 46.4468)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EB5 #B5632C
analogous
#2CB5A8 #2C7EB5 #2C39B5
triadic
#2C7EB5 #B52C7E #7EB52C
tetradic
#2C7EB5 #A82CB5 #B5632C #39B52C
square
#2C7EB5 #A82CB5 #B5632C #39B52C
split-complementary
#2C7EB5 #B52C39 #B5A82C
monochromatic
#143953 #205C84 #2C7EB5 #4B9DD3 #7CB7DF

Accessibility & contrast

On white

4.41
#2C7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2C7EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EB5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EB5#FFFFFF#000000##000000
##2C7EB51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB7
Deuteranopia (green-blind)
#5272B4
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7eb5;
/* rgb */ color: rgb(44, 126, 181);
/* oklch */ color: oklch(57.0% 0.115 242.4);
Tailwind
colors: {
  custom: {
    50: '#78a3cb',
    500: '#2c7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eb5;
$custom-light: #78a3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eb5",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 204.088,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56972,
    "c": 0.115,
    "h": 242.4
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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