#2C7DB1#2C7DB1

#2C7DB1 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.5% C 0.111 H 241.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C7DB1
RGBrgb(44, 125, 177)
HSLhsl(203, 60%, 43%)
HSVhsv(203, 75%, 69%)
CMYKcmyk(75.1%, 29.4%, 0%, 30.6%)
CIE-LABlab(49.95, -6.44, -34.47)
CIE-LCHlch(49.95, 35.06, 259.42°)
OKLaboklab(56.52% -0.0535 -0.0975)
OKLCHoklch(56.52% 0.111 241.2)
XYZxyz(16.3050, 18.3751, 44.2739)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DB1 #B1602C
analogous
#2CB1A2 #2C7DB1 #2C3AB1
triadic
#2C7DB1 #B12C7D #7DB12C
tetradic
#2C7DB1 #A22CB1 #B1602C #3AB12C
square
#2C7DB1 #A22CB1 #B1602C #3AB12C
split-complementary
#2C7DB1 #B12C3A #B1A22C
monochromatic
#14384F #205A80 #2C7DB1 #499CD2 #7AB7DE

Accessibility & contrast

On white

4.49
#2C7DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2C7DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DB1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DB1#FFFFFF#000000##000000
##2C7DB11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB3
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7db1;
/* rgb */ color: rgb(44, 125, 177);
/* oklch */ color: oklch(56.5% 0.111 241.2);
Tailwind
colors: {
  custom: {
    50: '#78a2c8',
    500: '#2c7db1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7db1;
$custom-light: #78a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7db1",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 203.459,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.11122,
    "h": 241.2
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#2C7DB1
secondary
#C69373
accent
#8344E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2C7DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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