#2C81A4#2C81A4

#2C81A4 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 56.8% C 0.096 H 229.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C81A4
RGBrgb(44, 129, 164)
HSLhsl(198, 58%, 41%)
HSVhsv(198, 73%, 64%)
CMYKcmyk(73.2%, 21.3%, 0%, 35.7%)
CIE-LABlab(50.59, -13.33, -25.94)
CIE-LCHlch(50.59, 29.16, 242.80°)
OKLaboklab(56.83% -0.0621 -0.0728)
OKLCHoklch(56.83% 0.096 229.5)
XYZxyz(15.5871, 18.9145, 37.9441)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81A4 #A44F2C
analogous
#2CA48B #2C81A4 #2C45A4
triadic
#2C81A4 #A42C81 #81A42C
tetradic
#2C81A4 #8B2CA4 #A44F2C #45A42C
square
#2C81A4 #8B2CA4 #A44F2C #45A42C
split-complementary
#2C81A4 #A42C45 #A48B2C
monochromatic
#123543 #1F5B74 #2C81A4 #41A4CC #71BBD9

Accessibility & contrast

On white

4.39
#2C81A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2C81A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81A4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81A4#FFFFFF#000000##000000
##2C81A41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA6
Deuteranopia (green-blind)
#5F73A4
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c81a4;
/* rgb */ color: rgb(44, 129, 164);
/* oklch */ color: oklch(56.8% 0.096 229.5);
Tailwind
colors: {
  custom: {
    50: '#76a5bf',
    500: '#2c81a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c81a4;
$custom-light: #76a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81a4",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 164
  },
  "hsl": {
    "h": 197.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.09565,
    "h": 229.5
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#2C81A4
secondary
#C0846B
accent
#7447E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C81A4

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

Preview Lab → · Contrast checker → · Palette generator →

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