#2C81A2#2C81A2

#2C81A2 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.7% C 0.094 H 228.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C81A2
RGBrgb(44, 129, 162)
HSLhsl(197, 57%, 40%)
HSVhsv(197, 73%, 64%)
CMYKcmyk(72.8%, 20.4%, 0%, 36.5%)
CIE-LABlab(50.50, -14.02, -24.91)
CIE-LCHlch(50.50, 28.58, 240.62°)
OKLaboklab(56.74% -0.0628 -0.0698)
OKLCHoklch(56.74% 0.094 228)
XYZxyz(15.4079, 18.8429, 37.0004)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C81A2 #A24D2C
analogous
#2CA288 #2C81A2 #2C46A2
triadic
#2C81A2 #A22C81 #81A22C
tetradic
#2C81A2 #882CA2 #A24D2C #46A22C
square
#2C81A2 #882CA2 #A24D2C #46A22C
split-complementary
#2C81A2 #A22C46 #A2882C
monochromatic
#123442 #1F5B72 #2C81A2 #40A4CB #70BBD8

Accessibility & contrast

On white

4.40
#2C81A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2C81A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C81A2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C81A2#FFFFFF#000000##000000
##2C81A21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c81a2;
/* rgb */ color: rgb(44, 129, 162);
/* oklch */ color: oklch(56.7% 0.094 228.0);
Tailwind
colors: {
  custom: {
    50: '#75a5bd',
    500: '#2c81a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c81a2;
$custom-light: #75a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c81a2",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 196.78,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.09392,
    "h": 228
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#2C81A2
secondary
#BF826A
accent
#7247E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C81A2

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

Preview Lab → · Contrast checker → · Palette generator →

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