#2C7EA3#2C7EA3

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

Color values

HEX#2C7EA3
RGBrgb(44, 126, 163)
HSLhsl(199, 57%, 41%)
HSVhsv(199, 73%, 64%)
CMYKcmyk(73%, 22.7%, 0%, 36.1%)
CIE-LABlab(49.62, -11.98, -26.86)
CIE-LCHlch(49.62, 29.41, 245.95°)
OKLaboklab(56.05% -0.0594 -0.0755)
OKLCHoklch(56.05% 0.096 231.8)
XYZxyz(15.1078, 18.0998, 37.3406)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EA3 #A3512C
analogous
#2CA38C #2C7EA3 #2C43A3
triadic
#2C7EA3 #A32C7E #7EA32C
tetradic
#2C7EA3 #8C2CA3 #A3512C #43A32C
square
#2C7EA3 #8C2CA3 #A3512C #43A32C
split-complementary
#2C7EA3 #A32C43 #A38C2C
monochromatic
#123343 #1F5973 #2C7EA3 #41A0CC #71B8D9

Accessibility & contrast

On white

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

On black

4.62
#2C7EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EA3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EA3#FFFFFF#000000##000000
##2C7EA31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7ea3;
/* rgb */ color: rgb(44, 126, 163);
/* oklch */ color: oklch(56.0% 0.096 231.8);
Tailwind
colors: {
  custom: {
    50: '#75a3be',
    500: '#2c7ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ea3;
$custom-light: #75a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ea3",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 198.655,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56045,
    "c": 0.09602,
    "h": 231.8
  },
  "luminance": 0.18102
}

Semantic roles & 50–950 ramp

primary
#2C7EA3
secondary
#C0856B
accent
#7747E1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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