#2C7FB1#2C7FB1

#2C7FB1 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.110 H 239.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C7FB1
RGBrgb(44, 127, 177)
HSLhsl(203, 60%, 43%)
HSVhsv(203, 75%, 69%)
CMYKcmyk(75.1%, 28.2%, 0%, 30.6%)
CIE-LABlab(50.55, -7.61, -33.52)
CIE-LCHlch(50.55, 34.37, 257.21°)
OKLaboklab(57% -0.0555 -0.0947)
OKLCHoklch(57% 0.11 239.6)
XYZxyz(16.5608, 18.8866, 44.3591)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FB1 #B15E2C
analogous
#2CB1A0 #2C7FB1 #2C3DB1
triadic
#2C7FB1 #B12C7F #7FB12C
tetradic
#2C7FB1 #A02CB1 #B15E2C #3DB12C
square
#2C7FB1 #A02CB1 #B15E2C #3DB12C
split-complementary
#2C7FB1 #B12C3D #B1A02C
monochromatic
#14394F #205C80 #2C7FB1 #499ED2 #7AB8DE

Accessibility & contrast

On white

4.40
#2C7FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2C7FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FB1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FB1#FFFFFF#000000##000000
##2C7FB11.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB3
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7fb1;
/* rgb */ color: rgb(44, 127, 177);
/* oklch */ color: oklch(57.0% 0.110 239.6);
Tailwind
colors: {
  custom: {
    50: '#78a4c8',
    500: '#2c7fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fb1;
$custom-light: #78a4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fb1",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 202.556,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.10976,
    "h": 239.6
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#2C7FB1
secondary
#C69273
accent
#8044E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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