#2C7FB3#2C7FB3

#2C7FB3 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.112 H 240.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C7FB3
RGBrgb(44, 127, 179)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 75%, 70%)
CMYKcmyk(75.4%, 29.1%, 0%, 29.8%)
CIE-LABlab(50.65, -6.89, -34.52)
CIE-LCHlch(50.65, 35.20, 258.72°)
OKLaboklab(57.1% -0.0548 -0.0976)
OKLCHoklch(57.1% 0.112 240.7)
XYZxyz(16.7616, 18.9669, 45.4167)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FB3 #B3602C
analogous
#2CB3A3 #2C7FB3 #2C3BB3
triadic
#2C7FB3 #B32C7F #7FB32C
tetradic
#2C7FB3 #A32CB3 #B3602C #3BB32C
square
#2C7FB3 #A32CB3 #B3602C #3BB32C
split-complementary
#2C7FB3 #B32C3B #B3A32C
monochromatic
#143951 #205C82 #2C7FB3 #4A9ED2 #7BB8DF

Accessibility & contrast

On white

4.38
#2C7FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2C7FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FB3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FB3#FFFFFF#000000##000000
##2C7FB31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B5
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c7fb3;
/* rgb */ color: rgb(44, 127, 179);
/* oklch */ color: oklch(57.1% 0.112 240.7);
Tailwind
colors: {
  custom: {
    50: '#78a4ca',
    500: '#2c7fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fb3;
$custom-light: #78a4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fb3",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 203.111,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.11197,
    "h": 240.7
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#2C7FB3
secondary
#C79474
accent
#8244E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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