#2C7BA1#2C7BA1

#2C7BA1 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.096 H 233.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2C7BA1
RGBrgb(44, 123, 161)
HSLhsl(199, 57%, 40%)
HSVhsv(199, 73%, 63%)
CMYKcmyk(72.7%, 23.6%, 0%, 36.9%)
CIE-LABlab(48.60, -10.97, -27.27)
CIE-LCHlch(48.60, 29.39, 248.08°)
OKLaboklab(55.21% -0.057 -0.0767)
OKLCHoklch(55.21% 0.096 233.4)
XYZxyz(14.5521, 17.2729, 36.2784)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BA1 #A1522C
analogous
#2CA18C #2C7BA1 #2C41A1
triadic
#2C7BA1 #A12C7B #7BA12C
tetradic
#2C7BA1 #8C2CA1 #A1522C #41A12C
square
#2C7BA1 #8C2CA1 #A1522C #41A12C
split-complementary
#2C7BA1 #A12C41 #A18C2C
monochromatic
#123241 #1F5671 #2C7BA1 #409DCB #70B6D8

Accessibility & contrast

On white

4.71
#2C7BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2C7BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7BA1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BA1#FFFFFF#000000##FFFFFF
##2C7BA11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c7ba1;
/* rgb */ color: rgb(44, 123, 161);
/* oklch */ color: oklch(55.2% 0.096 233.4);
Tailwind
colors: {
  custom: {
    50: '#75a1bd',
    500: '#2c7ba1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ba1;
$custom-light: #75a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ba1",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 199.487,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.09554,
    "h": 233.4
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#2C7BA1
secondary
#BF856A
accent
#7947E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C7BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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