#2C7FA3#2C7FA3

#2C7FA3 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.096 H 230.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2C7FA3
RGBrgb(44, 127, 163)
HSLhsl(198, 57%, 41%)
HSVhsv(198, 73%, 64%)
CMYKcmyk(73%, 22.1%, 0%, 36.1%)
CIE-LABlab(49.93, -12.55, -26.38)
CIE-LCHlch(49.93, 29.21, 244.56°)
OKLaboklab(56.29% -0.0604 -0.0741)
OKLCHoklch(56.29% 0.096 230.8)
XYZxyz(15.2363, 18.3568, 37.3835)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FA3 #A3502C
analogous
#2CA38B #2C7FA3 #2C44A3
triadic
#2C7FA3 #A32C7F #7FA32C
tetradic
#2C7FA3 #8B2CA3 #A3502C #44A32C
square
#2C7FA3 #8B2CA3 #A3502C #44A32C
split-complementary
#2C7FA3 #A32C44 #A38B2C
monochromatic
#123443 #1F5973 #2C7FA3 #41A2CC #71B9D9

Accessibility & contrast

On white

4.50
#2C7FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2C7FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FA3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FA3#FFFFFF#000000##000000
##2C7FA31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA5
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7fa3;
/* rgb */ color: rgb(44, 127, 163);
/* oklch */ color: oklch(56.3% 0.096 230.8);
Tailwind
colors: {
  custom: {
    50: '#75a4be',
    500: '#2c7fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fa3;
$custom-light: #75a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fa3",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 198.151,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.09557,
    "h": 230.8
  },
  "luminance": 0.18359
}

Semantic roles & 50–950 ramp

primary
#2C7FA3
secondary
#C0856B
accent
#7647E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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