#2C7CA8#2C7CA8

#2C7CA8 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.102 H 237.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2C7CA8
RGBrgb(44, 124, 168)
HSLhsl(201, 58%, 42%)
HSVhsv(201, 74%, 66%)
CMYKcmyk(73.8%, 26.2%, 0%, 34.1%)
CIE-LABlab(49.22, -9.08, -30.38)
CIE-LCHlch(49.22, 31.71, 253.37°)
OKLaboklab(55.81% -0.0555 -0.0856)
OKLCHoklch(55.81% 0.102 237)
XYZxyz(15.3115, 17.7762, 39.6624)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7CA8 #A8582C
analogous
#2CA896 #2C7CA8 #2C3EA8
triadic
#2C7CA8 #A82C7C #7CA82C
tetradic
#2C7CA8 #962CA8 #A8582C #3EA82C
square
#2C7CA8 #962CA8 #A8582C #3EA82C
split-complementary
#2C7CA8 #A82C3E #A8962C
monochromatic
#133447 #1F5878 #2C7CA8 #439DCE #74B6DB

Accessibility & contrast

On white

4.61
#2C7CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2C7CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7CA8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7CA8#FFFFFF#000000##FFFFFF
##2C7CA81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7ca8;
/* rgb */ color: rgb(44, 124, 168);
/* oklch */ color: oklch(55.8% 0.102 237.0);
Tailwind
colors: {
  custom: {
    50: '#76a1c2',
    500: '#2c7ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ca8;
$custom-light: #76a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ca8",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 201.29,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.10209,
    "h": 237
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#2C7CA8
secondary
#C28C6E
accent
#7D46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2C7CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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