#2C7EA2#2C7EA2

#2C7EA2 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.095 H 231.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C7EA2
RGBrgb(44, 126, 162)
HSLhsl(198, 57%, 40%)
HSVhsv(198, 73%, 64%)
CMYKcmyk(72.8%, 22.2%, 0%, 36.5%)
CIE-LABlab(49.57, -12.33, -26.34)
CIE-LCHlch(49.57, 29.09, 244.91°)
OKLaboklab(56% -0.0597 -0.074)
OKLCHoklch(56% 0.095 231.1)
XYZxyz(15.0185, 18.0641, 36.8706)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EA2 #A2502C
analogous
#2CA28B #2C7EA2 #2C43A2
triadic
#2C7EA2 #A22C7E #7EA22C
tetradic
#2C7EA2 #8B2CA2 #A2502C #43A22C
square
#2C7EA2 #8B2CA2 #A2502C #43A22C
split-complementary
#2C7EA2 #A22C43 #A28B2C
monochromatic
#123342 #1F5972 #2C7EA2 #40A1CB #70B8D8

Accessibility & contrast

On white

4.55
#2C7EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7EA2#FFFFFF#000000##000000
##2C7EA21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7ea2;
/* rgb */ color: rgb(44, 126, 162);
/* oklch */ color: oklch(56.0% 0.095 231.1);
Tailwind
colors: {
  custom: {
    50: '#75a3bd',
    500: '#2c7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ea2;
$custom-light: #75a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ea2",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 198.305,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55996,
    "c": 0.09509,
    "h": 231.1
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#2C7EA2
secondary
#BF846A
accent
#7647E1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2C7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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