#2C7EB4#2C7EB4

#2C7EB4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.114 H 241.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C7EB4
RGBrgb(44, 126, 180)
HSLhsl(204, 61%, 44%)
HSVhsv(204, 76%, 71%)
CMYKcmyk(75.6%, 30%, 0%, 29.4%)
CIE-LABlab(50.39, -5.94, -35.50)
CIE-LCHlch(50.39, 35.99, 260.50°)
OKLaboklab(56.92% -0.0535 -0.1005)
OKLCHoklch(56.92% 0.114 241.9)
XYZxyz(16.7346, 18.7505, 45.9084)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EB4 #B4622C
analogous
#2CB4A6 #2C7EB4 #2C3AB4
triadic
#2C7EB4 #B42C7E #7EB42C
tetradic
#2C7EB4 #A62CB4 #B4622C #3AB42C
square
#2C7EB4 #A62CB4 #B4622C #3AB42C
split-complementary
#2C7EB4 #B42C3A #B4A62C
monochromatic
#143952 #205C83 #2C7EB4 #4A9DD3 #7CB7DF

Accessibility & contrast

On white

4.42
#2C7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2C7EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EB4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EB4#FFFFFF#000000##000000
##2C7EB41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7eb4;
/* rgb */ color: rgb(44, 126, 180);
/* oklch */ color: oklch(56.9% 0.114 241.9);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2c7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eb4;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eb4",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 203.824,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56918,
    "c": 0.11385,
    "h": 241.9
  },
  "luminance": 0.18752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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