#2C7AB8#2C7AB8

#2C7AB8 is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.122 H 246.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2C7AB8
RGBrgb(44, 122, 184)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 72%)
CMYKcmyk(76.1%, 33.7%, 0%, 27.8%)
CIE-LABlab(49.39, -2.11, -39.39)
CIE-LCHlch(49.39, 39.44, 266.93°)
OKLaboklab(56.19% -0.0485 -0.1119)
OKLCHoklch(56.19% 0.122 246.5)
XYZxyz(16.6467, 17.9133, 47.9184)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7AB8 #B86A2C
analogous
#2CB8B0 #2C7AB8 #2C34B8
triadic
#2C7AB8 #B82C7A #7AB82C
tetradic
#2C7AB8 #B02CB8 #B86A2C #34B82C
square
#2C7AB8 #B02CB8 #B86A2C #34B82C
split-complementary
#2C7AB8 #B82C34 #B8B02C
monochromatic
#143955 #205987 #2C7AB8 #4D98D4 #7EB5E0

Accessibility & contrast

On white

4.58
#2C7AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #2C7AB8
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7AB8#FFFFFF#000000##000000
##2C7AB81.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBB
Deuteranopia (green-blind)
#4970B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7ab8;
/* rgb */ color: rgb(44, 122, 184);
/* oklch */ color: oklch(56.2% 0.122 246.5);
Tailwind
colors: {
  custom: {
    50: '#79a0cd',
    500: '#2c7ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ab8;
$custom-light: #79a0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ab8",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 184
  },
  "hsl": {
    "h": 206.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.12194,
    "h": 246.5
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#2C7AB8
secondary
#C99B77
accent
#8B43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C7AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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