#2C7EA1#2C7EA1

#2C7EA1 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.094 H 230.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C7EA1
RGBrgb(44, 126, 161)
HSLhsl(198, 57%, 40%)
HSVhsv(198, 73%, 63%)
CMYKcmyk(72.7%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.53, -12.68, -25.83)
CIE-LCHlch(49.53, 28.77, 243.85°)
OKLaboklab(55.95% -0.0601 -0.0725)
OKLCHoklch(55.95% 0.094 230.3)
XYZxyz(14.9300, 18.0287, 36.4043)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EA1 #A14F2C
analogous
#2CA18A #2C7EA1 #2C43A1
triadic
#2C7EA1 #A12C7E #7EA12C
tetradic
#2C7EA1 #8A2CA1 #A14F2C #43A12C
square
#2C7EA1 #8A2CA1 #A14F2C #43A12C
split-complementary
#2C7EA1 #A12C43 #A18A2C
monochromatic
#123341 #1F5871 #2C7EA1 #40A1CB #70B9D8

Accessibility & contrast

On white

4.56
#2C7EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2C7EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EA1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EA1#FFFFFF#000000##000000
##2C7EA11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA3
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7ea1;
/* rgb */ color: rgb(44, 126, 161);
/* oklch */ color: oklch(55.9% 0.094 230.3);
Tailwind
colors: {
  custom: {
    50: '#75a3bd',
    500: '#2c7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ea1;
$custom-light: #75a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ea1",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 197.949,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.09417,
    "h": 230.3
  },
  "luminance": 0.1803
}

Semantic roles & 50–950 ramp

primary
#2C7EA1
secondary
#BF836A
accent
#7547E0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2C7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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