#2C7EA5#2C7EA5

#2C7EA5 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.098 H 233.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C7EA5
RGBrgb(44, 126, 165)
HSLhsl(199, 58%, 41%)
HSVhsv(199, 73%, 65%)
CMYKcmyk(73.3%, 23.6%, 0%, 35.3%)
CIE-LABlab(49.70, -11.29, -27.89)
CIE-LCHlch(49.70, 30.08, 247.97°)
OKLaboklab(56.14% -0.0586 -0.0784)
OKLCHoklch(56.14% 0.098 233.2)
XYZxyz(15.2884, 18.1720, 38.2918)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EA5 #A5532C
analogous
#2CA58F #2C7EA5 #2C41A5
triadic
#2C7EA5 #A52C7E #7EA52C
tetradic
#2C7EA5 #8F2CA5 #A5532C #41A52C
square
#2C7EA5 #8F2CA5 #A5532C #41A52C
split-complementary
#2C7EA5 #A52C41 #A58F2C
monochromatic
#123444 #1F5975 #2C7EA5 #42A0CD #72B8D9

Accessibility & contrast

On white

4.53
#2C7EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2C7EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EA5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EA5#FFFFFF#000000##000000
##2C7EA51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA7
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7ea5;
/* rgb */ color: rgb(44, 126, 165);
/* oklch */ color: oklch(56.1% 0.098 233.2);
Tailwind
colors: {
  custom: {
    50: '#76a3c0',
    500: '#2c7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ea5;
$custom-light: #76a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ea5",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 199.339,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.09792,
    "h": 233.2
  },
  "luminance": 0.18174
}

Semantic roles & 50–950 ramp

primary
#2C7EA5
secondary
#C1876C
accent
#7847E1
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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