#2C7EB3#2C7EB3

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

Color values

HEX#2C7EB3
RGBrgb(44, 126, 179)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 75%, 70%)
CMYKcmyk(75.4%, 29.6%, 0%, 29.8%)
CIE-LABlab(50.35, -6.30, -35.00)
CIE-LCHlch(50.35, 35.56, 259.79°)
OKLaboklab(56.86% -0.0538 -0.099)
OKLCHoklch(56.86% 0.113 241.5)
XYZxyz(16.6331, 18.7099, 45.3738)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EB3 #B3612C
analogous
#2CB3A4 #2C7EB3 #2C3AB3
triadic
#2C7EB3 #B32C7E #7EB32C
tetradic
#2C7EB3 #A42CB3 #B3612C #3AB32C
square
#2C7EB3 #A42CB3 #B3612C #3AB32C
split-complementary
#2C7EB3 #B32C3A #B3A42C
monochromatic
#143951 #205B82 #2C7EB3 #4A9DD2 #7BB7DF

Accessibility & contrast

On white

4.43
#2C7EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2C7EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EB3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EB3#FFFFFF#000000##000000
##2C7EB31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB5
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7eb3;
/* rgb */ color: rgb(44, 126, 179);
/* oklch */ color: oklch(56.9% 0.113 241.5);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2c7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eb3;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eb3",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 203.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.11272,
    "h": 241.5
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#2C7EB3
secondary
#C79574
accent
#8344E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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