#2C7CB1#2C7CB1

#2C7CB1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.112 H 242.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C7CB1
RGBrgb(44, 124, 177)
HSLhsl(204, 60%, 43%)
HSVhsv(204, 75%, 69%)
CMYKcmyk(75.1%, 29.9%, 0%, 30.6%)
CIE-LABlab(49.65, -5.85, -34.94)
CIE-LCHlch(49.65, 35.43, 260.50°)
OKLaboklab(56.28% -0.0526 -0.0989)
OKLCHoklch(56.28% 0.112 242)
XYZxyz(16.1791, 18.1232, 44.2319)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7CB1 #B1612C
analogous
#2CB1A3 #2C7CB1 #2C39B1
triadic
#2C7CB1 #B12C7C #7CB12C
tetradic
#2C7CB1 #A32CB1 #B1612C #39B12C
square
#2C7CB1 #A32CB1 #B1612C #39B12C
split-complementary
#2C7CB1 #B12C39 #B1A32C
monochromatic
#14374F #205A80 #2C7CB1 #499BD2 #7AB6DE

Accessibility & contrast

On white

4.54
#2C7CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2C7CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7CB1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7CB1#FFFFFF#000000##000000
##2C7CB11.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB3
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7cb1;
/* rgb */ color: rgb(44, 124, 177);
/* oklch */ color: oklch(56.3% 0.112 242.0);
Tailwind
colors: {
  custom: {
    50: '#78a1c8',
    500: '#2c7cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7cb1;
$custom-light: #78a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7cb1",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 203.91,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.11199,
    "h": 242
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#2C7CB1
secondary
#C69473
accent
#8444E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2C7CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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