#2C7BB1#2C7BB1

#2C7BB1 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.113 H 242.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2C7BB1
RGBrgb(44, 123, 177)
HSLhsl(204, 60%, 43%)
HSVhsv(204, 75%, 69%)
CMYKcmyk(75.1%, 30.5%, 0%, 30.6%)
CIE-LABlab(49.34, -5.26, -35.42)
CIE-LCHlch(49.34, 35.80, 261.55°)
OKLaboklab(56.04% -0.0516 -0.1003)
OKLCHoklch(56.04% 0.113 242.8)
XYZxyz(16.0544, 17.8739, 44.1903)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BB1 #B1622C
analogous
#2CB1A4 #2C7BB1 #2C38B1
triadic
#2C7BB1 #B12C7B #7BB12C
tetradic
#2C7BB1 #A42CB1 #B1622C #38B12C
square
#2C7BB1 #A42CB1 #B1622C #38B12C
split-complementary
#2C7BB1 #B12C38 #B1A42C
monochromatic
#14374F #205980 #2C7BB1 #499AD2 #7AB5DE

Accessibility & contrast

On white

4.59
#2C7BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2C7BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7BB1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BB1#FFFFFF#000000##FFFFFF
##2C7BB11.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627CB3
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7bb1;
/* rgb */ color: rgb(44, 123, 177);
/* oklch */ color: oklch(56.0% 0.113 242.8);
Tailwind
colors: {
  custom: {
    50: '#78a1c8',
    500: '#2c7bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7bb1;
$custom-light: #78a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7bb1",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 204.361,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.11277,
    "h": 242.8
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#2C7BB1
secondary
#C69573
accent
#8544E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C7BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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